unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#14866: flonum? gives #t for complex number objects
@ 2013-07-15 10:59 Göran Weinholt
  2013-07-16  8:04 ` Mark H Weaver
  0 siblings, 1 reply; 2+ messages in thread
From: Göran Weinholt @ 2013-07-15 10:59 UTC (permalink / raw)
  To: 14866

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

Hello schemers,

the flonum? procedure from (rnrs) returns #t for complex number objects,
which are clearly not flonums:

scheme@(guile-user)> (import (rnrs))
scheme@(guile-user)> (flonum? 1.0+1.0i)
$1 = #t

Tested with Guile 2.0.9.22-7e816-dirty.

Regards,

-- 
Göran Weinholt <goran@weinholt.se>
It's a beautiful day.
Don't let it get away.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#14866: flonum? gives #t for complex number objects
  2013-07-15 10:59 bug#14866: flonum? gives #t for complex number objects Göran Weinholt
@ 2013-07-16  8:04 ` Mark H Weaver
  0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2013-07-16  8:04 UTC (permalink / raw)
  To: Göran Weinholt; +Cc: 14866-done

Göran Weinholt <goran@weinholt.se> writes:
> the flonum? procedure from (rnrs) returns #t for complex number objects,
> which are clearly not flonums:

Fixed in ff5568389c037f7c7b5dff9505c69e7f586f95aa.

     Thanks!
       Mark





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-16  8:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-15 10:59 bug#14866: flonum? gives #t for complex number objects Göran Weinholt
2013-07-16  8:04 ` Mark H Weaver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).