Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
foreach $1 ([{-0.0}, {_Inf, "1.0/0"}, {-_Inf, "-1.0/0"}, {_NaN}]) {
|
||||
() = printf("%S", $1[0]);
|
||||
if (length($1) > 1) () = printf("\t%S\n", eval($1[1]));
|
||||
else () = printf("\n");
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
% And make some comparisons:
|
||||
() = printf("-0.0 and 0.0 are %sequal\n", -0.0 == 0.0 ? "" : "not ");
|
||||
() = printf("-_Inf == _Inf are %sequal\n", -_Inf == _Inf ? "" : "not ");
|
||||
() = printf("-0.0 and 0.0 are %sthe 'same'\n", __is_same(-0.0, 0.0) ? "" : "not ");
|
||||
Loading…
Add table
Add a link
Reference in a new issue