Skip to content

Commit

Permalink
comment out some failing (on compile) Really Big Floats
Browse files Browse the repository at this point in the history
these work in the interpeter, but not compiled. 
hopefully no one has any serious scientific float operations 
going on right now. if so, we probably need to use a better math lib anyway.
  • Loading branch information
weyrick committed Apr 15, 2007
1 parent 0f45405 commit 7c08689
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions tests/float-output.php
Expand Up @@ -28,17 +28,22 @@
$a[] = 123456.2345678901234567890;
$a[] = 1234567.2345678901234567890;
$a[] = 12345678.2345678901234567890;
$a[] = 123456789.2345678901234567890;
$a[] = 1234567890.2345678901234567890;
$a[] = 12345678901.2345678901234567890;
$a[] = 123456789012.2345678901234567890;
$a[] = 1234567890123.2345678901234567890;
$a[] = 12345678901234.2345678901234567890;
$a[] = 123456789012345.2345678901234567890;
$a[] = 1234567890123456.2345678901234567890;

$a[] = 123456789.2345678901234567890;
$a[] = 1234567890.2345678901234567890;

// at high resolution we, generated code rounds
// the scm literals we generate for bigloo to compile
// are already losy (see -rm or --dump-ast)

//$a[] = 123456789.2345678901234567890;
//$a[] = 1234567890.2345678901234567890;
//$a[] = 12345678901.2345678901234567890;
//$a[] = 123456789012.2345678901234567890;
//$a[] = 1234567890123.2345678901234567890;
//$a[] = 12345678901234.2345678901234567890;
//$a[] = 123456789012345.2345678901234567890;
//$a[] = 1234567890123456.2345678901234567890;

//$a[] = 123456789.2345678901234567890;
//$a[] = 1234567890.2345678901234567890;

$a[] = 1.30;
$a[] = 1.300;
Expand Down Expand Up @@ -80,9 +85,9 @@
$a[] = 123456789012.0;
$a[] = 1235567890123.0;
$a[] = 12345678901234.0;
$a[] = 123456789012345.0;
$a[] = 1234567890123456.0;
$a[] = 12345678901234567.0;
//$a[] = 123456789012345.0;
//$a[] = 1234567890123456.0;
//$a[] = 12345678901234567.0;

$a[] = 0.7;
$a[] = 0.07;
Expand Down

0 comments on commit 7c08689

Please sign in to comment.