MicrOS
fcontrol_t Struct Reference

Type represent state of floating point control word. More...

#include <fenv.h>

Public Attributes

unsigned char invalid_operation: 1
 Invalid operation exception flag. More...
 
unsigned char denormalized_operand: 1
 Denormalized operand exception flag. More...
 
unsigned char zero_divide: 1
 Zero divide exception flag. More...
 
unsigned char overflow: 1
 Overflow exception flag. More...
 
unsigned char underflow: 1
 Underflow exception flag. More...
 
unsigned char precision: 1
 Precision exception flag. More...
 
unsigned char: 2
 Dummy field to align. More...
 
unsigned char precision_control: 2
 Precision control flag. More...
 
unsigned char rounding_control: 2
 Rounding control flag. More...
 
unsigned char infinity_control: 1
 Infinity control flag. More...
 

Detailed Description

Type represent state of floating point control word.

Includes exception falgs and control modes to precision, rounding and infnity control.

Member Data Documentation

◆ char

unsigned fcontrol_t::char

Dummy field to align.

◆ denormalized_operand

unsigned char fcontrol_t::denormalized_operand

Denormalized operand exception flag.

◆ infinity_control

unsigned char fcontrol_t::infinity_control

Infinity control flag.

◆ invalid_operation

unsigned char fcontrol_t::invalid_operation

Invalid operation exception flag.

◆ overflow

unsigned char fcontrol_t::overflow

Overflow exception flag.

◆ precision

unsigned char fcontrol_t::precision

Precision exception flag.

◆ precision_control

unsigned char fcontrol_t::precision_control

Precision control flag.

◆ rounding_control

unsigned char fcontrol_t::rounding_control

Rounding control flag.

◆ underflow

unsigned char fcontrol_t::underflow

Underflow exception flag.

◆ zero_divide

unsigned char fcontrol_t::zero_divide

Zero divide exception flag.


The documentation for this struct was generated from the following file: