Function spdl::core::to_double

Function Documentation

double spdl::core::to_double(const Rational &val)

Convert a rational to a double.

Parameters:

val – Rational value to convert.

Returns:

Double representation.