Infinity: Difference between revisions
no edit summary
Drkameleon (talk | contribs) (Added Arturo implementation) |
No edit summary |
||
Line 1,517:
IndefiniteNumber = -1,#IND (FFF8000000000000)
</pre>
=={{header|Vlang}}==
<lang vlang>import math
fn main() {
mut x := 1.5 // type of x determined by literal
// that this compiles demonstrates that PosInf returns same type as x,
// the type specified by the task.
x = math.inf(1)
println('$x ${math.is_inf(x, 1)}') // demonstrate result
}</vlang>
=={{header|Wren}}==
|