\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.12.1 - Number Types
leda_real Class Reference

#include <CGAL/leda_real.h>

Definition

The class leda_real is a wrapper class that provides the functions needed to use the number type real, representing exact real numbers numbers provided by LEDA.

The class leda_real provides exact computation over the subset of real numbers that contains integers, and which is closed by the operations \( +,-,\times,/,\sqrt{}\) and \(\sqrt[k]{}\). For LEDA version 5.0 or later leda_real is also able to represent real roots of polynomials. Operations and comparisons between objects of this type are guaranteed to be exact.

Is Model Of:

FieldWithRootOf

RealEmbeddable

FromDoubleConstructible

For more details on the number types of LEDA we refer to the LEDA manual [Solutions].