Skip to content

Modern Math RaiseFpException

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

Home › Math Library › Math Library › RaiseFpException

RaiseFpException

Raises a floating-point exception flag by hand; returns true on success.

Syntax

RaiseFpException( e )

Examples

#import "std/numeric"
using numeric

'' Raises a flag by hand, so a routine can report a condition through
'' the same channel the hardware uses
ClearFpExceptions( )
print RaiseFpException( FP_INVALID )      '' true

print TestFpException( FP_INVALID )       '' true
ClearFpExceptions( )

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

Clone this wiki locally