Raymond Toy pushed to branch issue-459-more-accurate-dd-complex-div at cmucl / cmucl Commits: 466dee14 by Raymond Toy at 2026-01-19T11:26:01-08:00 Clean up a comment - - - - - 1 changed file: - src/code/numbers.lisp Changes: ===================================== src/code/numbers.lisp ===================================== @@ -751,12 +751,12 @@ (d (imagpart y)) (ab (max (abs a) (abs b))) (cd (max (abs c) (abs d))) - ;; S is always multipled by a power of 2. It's either - ;; 2, 0.5, or +be+, which is also a power of two. - ;; (Either 2^105 or 2^209). Hence, we can just use a - ;; double-float instead of a double-double-float - ;; because the double-double always has 0d0 for the lo - ;; part. + ;; S is always multipled by a power of 2. It's + ;; multiplied by either 2, 0.5, or +be+, which is + ;; also a power of two. (Either 2^105 or 2^209). + ;; Hence, we can just use a double-float instead + ;; of a double-double-float because the + ;; double-double always has 0d0 for the lo part. (s 1d0)) (declare (double-float s)) ;; If a or b is big, scale down a and b. View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/466dee1428a1b6ed3a439e76... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/466dee1428a1b6ed3a439e76... You're receiving this email because of your account on gitlab.common-lisp.net.