Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
Inf=: _
|
||||
NegInf=: __
|
||||
NB. Negative zero cannot be represented in J to be distinct from 0.
|
||||
NaN=. _.
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
(1 % 0) , (_1 % 0)
|
||||
_ __
|
||||
(1e234 * 1e234) , (_1e234 * 1e234)
|
||||
_ __
|
||||
_ + __ NB. generates NaN error, rather than NaN
|
||||
|NaN error
|
||||
| _ +__
|
||||
|
||||
_ - _ NB. generates NaN error, rather than NaN
|
||||
|NaN error
|
||||
| _ -_
|
||||
%_
|
||||
0
|
||||
%__ NB. Under the covers, the reciprocal of NegInf produces NegZero, but this fact isn't exposed to the user, who just sees zero
|
||||
0
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
_ + _
|
||||
_
|
||||
__ + __
|
||||
__
|
||||
Inf + 0
|
||||
_
|
||||
NegInf * 0
|
||||
0
|
||||
Loading…
Add table
Add a link
Reference in a new issue