Custom Query (1630 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (34 - 36 of 1630)

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Ticket Resolution Summary Owner Reporter
#321 fixed #b/o/x do not allow a # beyond fixnum range, unlike #d felix winkelmann Kon Lovett
Description

#d18446744073709551615 => 1.84467440737096e+19

but

#xFFFFFFFFFFFFFFFF => Error: illegal number syntax: "FFFFFFFFFFFFFFFF"

(Note - probably does not apply to 64-bit machines. 32-bit problem only.)

#788 worksforme #e1.0000000000000001 evaluates to 1.0 with numbers on the REPL sjamaan Christian Kellermann
Description

CHICKEN (c)2008-2011 The Chicken Team (c)2000-2007 Felix L. Winkelmann Version 4.7.5 (rev 5518972) openbsd-unix-gnu-x86 [ manyargs dload ptables ] compiled 2012-02-04 on necronomicon.my.domain (OpenBSD)

#;1> #e1.0000000000000001 1 #;2> (use numbers) ; loading /home/ckeen/chickens/master/lib/chicken/6/numbers.import.so ... ; loading /home/ckeen/chickens/master/lib/chicken/6/chicken.import.so ... ; loading /home/ckeen/chickens/master/lib/chicken/6/foreign.import.so ... ; loading /home/ckeen/chickens/master/lib/chicken/6/numbers.so ... #;3> #e1.0000000000000001 1.0

I was expecting a fraction and Peter too:

21:34 < sjamaan> #;1> (use numbers) 21:34 < sjamaan> #;2> #e1.0000000000000001 21:34 < sjamaan> 10000000000000001/10000000000000000

#1418 invalid #e1e500 is not exact (numbers egg, possibly Chicken 5 as well) johnwcowan
Description

Per R5RS and later standards, #e1e500 is the same as 10000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000.

But this is not so in Chicken, which treats #e the same as calling inexact->exact, and so returns +inf.0, which is neither exact nor correct. When #e is present, the result needs to be computed by bignum/ratio arithmetic, even if what follows is a decimal fraction.

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Note: See TracQuery for help on using queries.