Navigation: Up, Table of Contents, Bibliography, Index, Title Page

## CGAL::to_rational

### Definition

The function to_rational computes the rational number representing a given double precision floating point number.

#include <CGAL/number_utils.h>

Rational | to_rational ( double d)
|  | computes the rational number that equals d.

### Implementation

### See Also

CGAL::simplest_rational_in_interval<Rational>(double d1, double d2).

Navigation: Table of Contents, Bibliography, Index, Title Page

The CGAL Project . Tue, December 21, 2004 .