Skip to content

Modern Math MinSubnormalDouble

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

Home › Math Library › Math Library › MinSubnormalDouble

MinSubnormalDouble

Returns the smallest Double above zero.

Syntax

MinSubnormalDouble( )

Examples

#import "std/numeric"
using numeric

dim as float64 m = MinSubnormalDouble( )

'' The SMALLEST NON-ZERO double there is -- one bit of significand left
print m > 0                  '' -1 (true)
print IsSubnormal( m )       '' true

'' Halving it underflows to zero, which is where the number line stops
print m / 2 = 0              '' -1 (true)

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

Clone this wiki locally