Hello schemers, the flmax and flmin procedures from (rnrs) do not handle +nan.0 correctly: scheme@(guile-user)> (import (rnrs)) scheme@(guile-user)> (flmax +inf.0 +nan.0) $1 = +inf.0 scheme@(guile-user)> (flmin -inf.0 +nan.0) $2 = -inf.0 The result should be +nan.0. From r6rs-lib: "They always return a NaN when one or more of the arguments is a NaN." Tested with 2.0.9.22-7e816-dirty. Regards, -- Göran Weinholt It's a beautiful day. Don't let it get away.