Skip to content

Modern Math NaNF

Paul Squires edited this page Oct 19, 2026 · 5 revisions

Home › Math Library › Math Library › NaNF

NaNF

Returns a Single that is NaN, not a number.

Syntax

NaNF( )

Examples

#import "std/numeric"
using numeric

dim as float32 n = NaNF( )

print IsNaN( n )             '' true

'' The single-precision NaN. Kept separate from NaN( ) so that a single
'' expression does not silently widen to double and back.

Library: Math Library
Category: Math Library
Documented under: Nothing Becomes A Keyword

Clone this wiki locally