Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/Infinity/Oz/infinity.oz
Normal file
13
Task/Infinity/Oz/infinity.oz
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
declare
|
||||
PosInf = 1./0.
|
||||
NegInf = ~1./0.
|
||||
in
|
||||
{Show PosInf}
|
||||
{Show NegInf}
|
||||
|
||||
%% some assertion
|
||||
42. / PosInf = 0.
|
||||
42. / NegInf = 0.
|
||||
PosInf * PosInf = PosInf
|
||||
PosInf * NegInf = NegInf
|
||||
NegInf * NegInf = PosInf
|
||||
Loading…
Add table
Add a link
Reference in a new issue