This is an exact floating-point type; it can represent numbers of the form , where is an arbitrary precision integer based on the GNU Multiple Precision Arithmetic Library, and is of type long. This number type offers functionality very similar to MP_Float but is generally faster.
#include <CGAL/Gmpzf.h>
| |
creates a multiple precision floating-point number
initialized with .
| |
| |
creates a multiple-precision floating-point number
initialized with
i.
| |
| |
creates a multiple-precision floating-point number
initialized with
l.
| |
| |
creates a multiple-precision floating-point number
initialized with
i.
| |
| |
creates a multiple-precision floating-point number
initialized with d.
|
|
| writes a double approximation of f to the ostream out. |
|
| writes an exact representation of f to the ostream out. |
|
| reads a double from in, then converts it to a Gmpzf. |