Phix feature request

new topic     » topic index » view thread      » older message » newer message

would it be possible to get the below function or are these already available?

Thanks richard

Syntax atom Result = NaN() Description Returns the special floating-point value representing 'Not a Number'. This value is returned from invalid calculations such as calculating the square root of a negative number.

Syntax atom Result = Infinity() Description Returns the special floating-point value representing positive infinity. Negative infinity can be calculated using "-Infinity()".

Syntax atom Result = IsInfinity(Value/Var) Description Returns nonzero if the input value represents positive or negative infinity and zero otherwise.

Syntax atom Result = IsNaN(Value/Var) Description Returns nonzero if the given value 'Not a Number' and zero otherwise. This value is the result of some invalid calculations. It can also be generated using the NaN() function.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu