Skip to content

Fb Fpmode

Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Intrinsic Defines › FB_FPMODE

FB_FPMODE

Intrinsic define set by the compiler

Syntax

__FB_FPMODE__

Description

Defined as "fast" if SSE fast arithmetics is enabled, or "precise" otherwise.

Remarks

Differences from QB

  • New to FreeBASIC

See also

Examples

#if __FB_FPMODE__ = "fast"

  ' ... instructions for using fast-mode math ...

#else

  ' ... instructions for using normal math ...

#endif

Category: Intrinsic Defines
Kind: keyword


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally