foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
fpu_control

#include <other.h>

+ Inheritance diagram for fpu_control:

Public Member Functions

 fpu_control (unsigned p_mask, unsigned p_val)
 
 ~fpu_control ()
 

Private Attributes

unsigned mask
 
unsigned old_val
 

Detailed Description

Definition at line 21 of file other.h.

Constructor & Destructor Documentation

fpu_control::fpu_control ( unsigned  p_mask,
unsigned  p_val 
)
inline

Definition at line 26 of file other.h.

27  {
28  mask = p_mask;
29  _controlfp_s(&old_val,p_val,mask);
30  }
unsigned old_val
Definition: other.h:23
unsigned mask
Definition: other.h:24
fpu_control::~fpu_control ( )
inline

Definition at line 31 of file other.h.

32  {
33  unsigned dummy;
34  _controlfp_s(&dummy,old_val,mask);
35  }
unsigned old_val
Definition: other.h:23
unsigned mask
Definition: other.h:24

Field Documentation

unsigned fpu_control::mask
private

Definition at line 24 of file other.h.

unsigned fpu_control::old_val
private

Definition at line 23 of file other.h.


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