September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 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