Keil Logo

__rt_fp_status_addr()

4.26 __rt_fp_status_addr()

Defined in rt_fp.h, the __rt_fp_status_addr() function returns the address of the floating-point status word.

By default, the floating-point status word resides in __user_libspace.
This function is not part of the C library standard, but the ARM® C library supports it as an extension.

Syntax

unsigned *__rt_fp_status_addr(void);

Usage

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.

Returns

The address of the floating-point status word.
Non-ConfidentialPDF file icon PDF versionARM DUI0378H
Copyright © 2007, 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  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.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.