bug#69725: Incorrect comapration between exact and inexact numbers

2024-03-19 Thread lloda
Patch committed to 54c4753dd3f7506bee2778b36d7263b613ffd579, with a couple extra tests. Thanks Daniel

bug#69725: Incorrect comapration between exact and inexact numbers

2024-03-18 Thread lloda
Thanks for the report! Patch attached. regards Daniel 0001-Add-missing-branch-in-scm_is_less_than.patch Description: Binary data

bug#69725: Incorrect comapration between exact and inexact numbers

2024-03-11 Thread Maciej
description: script(named main.scm): (use-modules (srfi srfi-11)) (define* (newton-sqrt x #:optional (tolerance 0.001) (guess 1)) (if (< (abs (- x (* guess guess))) tolerance) (values guess (abs (- x (* guess guess))) tolerance) (newton-sqrt x tolerance (/ (+ guess (/ x g