Keil Logo Arm Logo

C and C++ Libraries and Floating-Point Support Reference

__rt_fp_status_addr()

__rt_fp_status_addr()

Defined in rt_fp.h, this function returns the address of the floating-point status word, which resides by default in __user_libspace. It is not part of the C library standard, but is supported by the ARM C library as an extension.

Show/hideSyntax

unsigned *__rt_fp_status_addr(void);

Show/hideUsage

If __rt_fp_status_addr() is not defined, the default implementation from the C library is used. The value is initialized when __rt_lib_init() calls _fp_init(). The constants for the status word are listed in fenv.h. The default floating-point status is 0.

Show/hideReturns

The address of the floating-point status word.

Show/hideSee also

Concepts

Using ARM C and C++ Libraries and Floating-Point Support:

Copyright © 2011-2012 ARM. All rights reserved.ARM DUI 0589B
Non-ConfidentialID062912

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.