unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#20945: One guile test failed
@ 2015-06-30 19:43 Christopher White
  2016-06-24  7:16 ` Andy Wingo
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher White @ 2015-06-30 19:43 UTC (permalink / raw)
  To: 20945

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

Hello,
For your information, make check produced one error, on OS X Yosemite.

[-- Attachment #2: check-guile.log --]
[-- Type: application/octet-stream, Size: 3197723 bytes --]

[-- Attachment #3: Type: text/plain, Size: 30 bytes --]



Thank you.

Regards,
Chris


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

* bug#20945: One guile test failed
  2015-06-30 19:43 bug#20945: One guile test failed Christopher White
@ 2016-06-24  7:16 ` Andy Wingo
  2017-02-28 14:20   ` Andy Wingo
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Wingo @ 2016-06-24  7:16 UTC (permalink / raw)
  To: Christopher White; +Cc: 20945

Thanks for the report.

On Tue 30 Jun 2015 21:43, Christopher White <ceedave@me.com> writes:

> For your information, make check produced one error, on OS X Yosemite.
>
> FAIL: numbers.test: string->number: valid complex number strings

Does this still happen for you?

If so, can you paste this at a REPL or in a file and see what it prints
out?

    (for-each (lambda (triple)
                (apply
                 (lambda (str re im)
                   (let ((z (string->number str)))
                     (if (or (eq? z #f)
                             (not (and (eqv? (real-part z) re)
                                       (eqv? (imag-part z) im))))
			 (begin 
			   (pk str re im)
			   (throw 'fail)))))
                 triple))
              `(("1@0" 1 0) ("1@+0" 1 0) ("1@-0" 1 0) ("1/2@0" 1/2 0)
                ("1.0@0" 1.0 0) ("1.0@-0" 1.0 0)
                ("#e1@0" 1 0) ("#e1@+0" 1 0) ("#e1@-0" 1 0) ("#e0.5@0.0" 1/2 0)
                ("#e1.0@0" 1 0) ("#e1.0@-0" 1 0)
                ("#i1@0" 1.0 0.0) ("#i1@+0" 1.0 0.0) ("#i1@-0" 1.0 -0.0) ("#i1/2@0" 0.5 0.0)
                ("#i1.0@0" 1.0 0.0) ("#i1.0@-0" 1.0 -0.0)
                ("1@+0.0" 1.0 0.0) ("1.0@-0.0" 1.0 -0.0)
                ("2+3i" 2.0 3.0) ("4-5i" 4.0 -5.0)
                ("1+i" 1.0 1.0) ("1-i" 1.0 -1.0) ("+1i" 0.0 1.0) ("-1i" 0.0 -1.0)
                ("+i" 0.0 1.0) ("-i" 0.0 -1.0)
		("1.0+.1i" 1.0 0.1) ("1.0-.1i" 1.0 -0.1)
		(".1+.0i" 0.1 0.0) ("1.+.0i" 1.0 0.0) (".1+.1i" 0.1 0.1)
		("1e1+.1i" 10.0 0.1)
                ("0@+nan.0" 0 0) ("0@+inf.0" 0 0) ("0@-inf.0" 0 0)
                ("0.0@+nan.0" 0.0 0.0) ("0.0@+inf.0" 0.0 0.0) ("0.0@-inf.0" 0.0 0.0)
                ("#i0@+nan.0" 0.0 0.0) ("#i0@+inf.0" 0.0 0.0) ("#i0@-inf.0" 0.0 0.0)
                ("0.0@1" 0.0 0.0) ("0.0@2" -0.0 0.0) ("0.0@4" -0.0 -0.0) ("0.0@5" 0.0 -0.0)
		))

Cheers,

Andy





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

* bug#20945: One guile test failed
  2016-06-24  7:16 ` Andy Wingo
@ 2017-02-28 14:20   ` Andy Wingo
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Wingo @ 2017-02-28 14:20 UTC (permalink / raw)
  To: Christopher White; +Cc: 20945-done

On Fri 24 Jun 2016 09:16, Andy Wingo <wingo@pobox.com> writes:

> Thanks for the report.
>
> On Tue 30 Jun 2015 21:43, Christopher White <ceedave@me.com> writes:
>
>> For your information, make check produced one error, on OS X Yosemite.
>>
>> FAIL: numbers.test: string->number: valid complex number strings

I think this is fixed by Matt Wette in master; should come out in a new
release shortly.  Thanks again for the report.

Andy





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

end of thread, other threads:[~2017-02-28 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-30 19:43 bug#20945: One guile test failed Christopher White
2016-06-24  7:16 ` Andy Wingo
2017-02-28 14:20   ` Andy Wingo

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).