t_cpu Class Reference
#include <cpu.h>
Detailed Description
Definition at line 119 of file cpu.h.
Constructor & Destructor Documentation
Member Function Documentation
| bool t_cpu::big_endian |
( |
|
) |
const [inline] |
| void t_cpu::enable_traps |
( |
|
) |
const [private] |
| const char* t_cpu::host_name |
( |
|
) |
const [inline] |
| bool t_cpu::little_endian |
( |
|
) |
const [inline] |
| long t_cpu::nCPU |
( |
|
) |
const [inline] |
Friends And Related Function Documentation
| void set_nan |
( |
double |
x[], |
|
|
long |
n | |
|
) |
| | [friend] |
| void set_nan |
( |
double & |
x |
) |
[friend] |
| void set_nanf |
( |
float |
x[], |
|
|
long |
n | |
|
) |
| | [friend] |
| void set_nanf |
( |
float & |
x |
) |
[friend] |
define routines for setting float and double signaling NaN The bit pattern for an SNaN is implementation defined, but this should work on most modern CPU's. The system definition is preferred, so in C++ this should be replaced by numeric_limits<TYPE>::signaling_NaN()
Definition at line 164 of file cpu.h.
Field Documentation
the name of the computer, not detected on all systems
Definition at line 139 of file cpu.h.
Referenced by host_name(), and t_cpu().
the number of available CPUs on the system, not detected on all systems
Definition at line 137 of file cpu.h.
Referenced by nCPU(), and t_cpu().
The documentation for this class was generated from the following files: