Hello schemers,

the fl+ and fl* procedures from (rnrs) should also accept 0 arguments,
with flonum return values analogous to (+) and (*):

scheme@(guile-user)> (import (rnrs))
scheme@(guile-user)> (fl*)
;;; <stdin>:2:0: warning: possibly wrong number of arguments to `fl*'
rnrs/arithmetic/flonums.scm:111:2: In procedure fl*:
rnrs/arithmetic/flonums.scm:111:2: Wrong number of arguments to #<procedure fl* 
(fl1 . args)>

The entries in r6rs-lib say "(fl+ fl1 ...)" and "(fl* fl1 ...)". Tested
with Guile 2.0.9.22-7e816-dirty.

Regards,

-- 
Göran Weinholt <[email protected]>
"On your own and though you feel alone you are alive.
Don't you know it's just another day." -- You Are Alive, Fragma

Attachment: pgplN3kxSwBvn.pgp
Description: PGP signature

Reply via email to