GEOS  3.8.0dev
Classes | Namespaces | Macros
ttmathbig.h File Reference

A Class for representing floating point numbers. More...

#include "ttmathint.h"
#include "ttmaththreads.h"
#include <iostream>

Go to the source code of this file.

Classes

class  ttmath::Big< exp, man >
 Big implements the floating point numbers. More...
 

Namespaces

 ttmath
 a namespace for the TTMath library
 

Macros

#define TTMATH_BIG_SIGN   128
 
#define TTMATH_BIG_NAN   64
 
#define TTMATH_BIG_ZERO   32
 

Detailed Description

A Class for representing floating point numbers.

Macro Definition Documentation

#define TTMATH_BIG_NAN   64

Not a number if this bit is set that there is not a valid number

Referenced by ttmath::Big< exp, man >::Big(), ttmath::Big< exp, man >::IsNan(), and ttmath::Big< exp, man >::SetNan().

#define TTMATH_BIG_SIGN   128

Sign the mask of a bit from 'info' which means that there is a sign (when the bit is set)

Referenced by ttmath::Big< exp, man >::Abs(), ttmath::Big< exp, man >::ChangeSign(), ttmath::Big< exp, man >::IsSign(), and ttmath::Big< exp, man >::SetSign().

#define TTMATH_BIG_ZERO   32

Zero if this bit is set that there is value zero mantissa should be zero and exponent should be zero too (the Standardizing() method does this)

Referenced by ttmath::Big< exp, man >::IsZero(), ttmath::Big< exp, man >::SetZero(), and ttmath::Big< exp, man >::Standardizing().