diff options
Diffstat (limited to 'nihil.ucl/real.ccm')
| -rw-r--r-- | nihil.ucl/real.ccm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nihil.ucl/real.ccm b/nihil.ucl/real.ccm index c491553..f425a9a 100644 --- a/nihil.ucl/real.ccm +++ b/nihil.ucl/real.ccm @@ -78,7 +78,7 @@ export constexpr auto operator""_ucl (long double d) -> real d < static_cast<long double>(std::numeric_limits<double>::min())) throw std::out_of_range("literal out of range"); - return real(d); + return real(static_cast<double>(d)); } } // namespace nihil::ucl::literals |
