From: Taylor R Campbell Date: Fri, 30 Nov 2018 08:47:59 +0000 (+0000) Subject: Remove bogus note about flo:compare and flo:safe-compare. X-Git-Tag: mit-scheme-pucked-10.1.7~3^2~87 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=a10c3fb0aa111947d24c41361abbc76065fe9b5d;p=mit-scheme.git Remove bogus note about flo:compare and flo:safe-compare. Never actually committed these; decided a four-way comparison wasn't worth it without a motivating application. Won't work for anything that expects a three-way -1/0/+1 compare. --- diff --git a/src/relnotes/flonum b/src/relnotes/flonum index 2bac81afb..f6f1b8306 100644 --- a/src/relnotes/flonum +++ b/src/relnotes/flonum @@ -77,12 +77,6 @@ New flonum-related definitions: - (flo:<> x y) returns true if x is less or greater than y, false if equal or unordered, and raises invalid-operation exceptions on any NaNs. -- (flo:compare x y) and (flo:safe-compare x y) return a four-way - comparison of two floating-point numbers: negative if x < y, zero if - x = y, positive if x > y, and #f if one or both arguments is NaN. - flo:compare raises invalid-operation exceptions on any NaN; - flo:safe-compare raises invalid-operations exceptions only on - signalling NaNs. - (flo:total< x y) is true if x < y in the total ordering defined in IEEE 754-2008 Sec. 5.10; (flo:total-order x y) is a three-way comparison, -1 if x < y, 0 if x = y, +1 if x > y.