Skip to content

Modern Math InfinityF

Paul Squires edited this page Sep 30, 2026 · 5 revisions

Home › Math Library › Math Library › InfinityF

InfinityF

Syntax

InfinityF( )

Examples

#import "std/numeric"
using FB

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
Source: docs/math/math.txt in the FBC-Modern repository.

Clone this wiki locally