Skip to content

Modern Math InfinityF

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

Home › Math Library › Math Library › InfinityF

InfinityF

Returns positive infinity as a Single.

Syntax

InfinityF( )

Examples

#import "std/numeric"
using numeric

dim as float32 inf = InfinityF( )

print IsInfinite( inf )      '' true

'' The single-precision infinity, for the same reason NaNF exists

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

Clone this wiki locally