Infinity: Difference between revisions

From NARS2000
Jump to navigationJump to search
New page: <p>The two infinities are now valid values to be used as numeric limits. The infinity symbol (<apll>∞</apll>) is entered from the keyboard using the key combination '''Alt-f'''. The ot...
 
No edit summary
Line 1: Line 1:
<p>The two infinities are now valid values to be used as numeric limits.  The infinity symbol (<apll>∞</apll>) is entered from the keyboard using the key combination '''Alt-f'''.  The other infinity is obtained from the positive form by preceding it with a negative symbol (<apll>¯∞</apll>).  The underbar symbol (<apll>_</apll>) is an alias for the infinity symbol on entry; however, when displaying the variable that contains an infinity, <apll>∞</apll> is used.</p>
<p>The two infinities are now valid values to be used as the upper and lower numeric limits.  The infinity symbol (<apll>∞</apll>) is entered from the keyboard using the key combination '''Alt-f'''.  The other infinity is obtained from the positive form by preceding it with a negative symbol (<apll>¯∞</apll>).  The underbar symbol (<apll>_</apll>) is an alias for the infinity symbol on entry; however, when displaying a variable that contains an infinity, <apll>∞</apll> is used.</p>


<p>For example,</p>
<p>For example,</p>


&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<apll>⌊/⍬<br />
<apll>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;⌊/⍬<br />
∞</apll><br />
∞</apll><br /><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<apll>⌈/⍬<br />
<apll>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;⌈/⍬<br />
¯∞</apll><br />
¯∞</apll><br /><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<apll>9*999<br />
<apll>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;9*999<br />
∞</apll><br />
∞</apll><br /><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<apll>÷0<br />
<apll>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;÷0<br />
∞</apll><br />
∞</apll><br /><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<apll>÷¯∞ ∞<br />
<apll>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;÷¯∞ ∞<br />
0 0</apll><br />
0 0</apll><br /><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<apll>¯_ _ ¯∞ ∞<br />
<apll>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;¯_ _ ¯∞ ∞<br />
¯∞ ∞ ¯∞ ∞</apll><br />
¯∞ ∞ ¯∞ ∞</apll><br /><br />
<apll>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;¯∞ 0 ∞∘.<¯∞ 0 ∞<br />
&nbsp;0 1 1<br />
&nbsp;0 0 1<br />
&nbsp;0 0 0</apll><br />
<br />


<p>There are many cases that need to be examined to see how infinity should behave; this work has yet to be done, so you might notice some anomalous results using infinity.</p>
<p>There are many cases that need to be examined to see how infinity should behave; this work has yet to be done, so you might notice some anomalous results using infinity.</p>


<p>Also, see the description of the system variable [[System Variable IC|<apll>⎕IC</apll>]] (Indeterminate Control) for a way to control how infinity along with other indeterminates are handled.
<p>Also, see the description of the system variable [[System Variable IC|<apll>⎕IC</apll>]] (Indeterminate Control) for a way to control how infinity along with other indeterminates are handled.

Revision as of 18:07, 7 May 2008

The two infinities are now valid values to be used as the upper and lower numeric limits. The infinity symbol (∞) is entered from the keyboard using the key combination Alt-f. The other infinity is obtained from the positive form by preceding it with a negative symbol (¯∞). The underbar symbol (_) is an alias for the infinity symbol on entry; however, when displaying a variable that contains an infinity, ∞ is used.

For example,

      ⌊/⍬
∞


      ⌈/⍬
¯∞


      9*999
∞


      ÷0
∞


      ÷¯∞ ∞
0 0


      ¯_ _ ¯∞ ∞
¯∞ ∞ ¯∞ ∞


      ¯∞ 0 ∞∘.<¯∞ 0 ∞
 0 1 1
 0 0 1
 0 0 0


There are many cases that need to be examined to see how infinity should behave; this work has yet to be done, so you might notice some anomalous results using infinity.

Also, see the description of the system variable ⎕IC (Indeterminate Control) for a way to control how infinity along with other indeterminates are handled.