Infinity: Difference between revisions

m
(Lingo added)
Line 578:
 
=={{header|Lingo}}==
<lang lingo>-- Lingo stores floats using IEEE 754 double-precision (64-bit) format.
INF is not a constant that can be used programmatically, but only a special return value.
<lang lingo>x = (1-power(2, -53)) * power(2, 1023) * 2
put ilk(x), x
-- #float 1.79769313486232e308
Anonymous user