RosettaCodeData/Task/Infinity/RLaB/infinity.rlab

9 lines
106 B
Plaintext

>> x = inf()
inf
>> isinf(x)
1
>> inf() > 10
1
>> -inf() > 10
0