LMCAS
Lamina Computer Algebra System
载入中...
搜索中...
未找到
numeric_value.hpp
浏览该文件的文档.
1#pragma once
2
3namespace LMCAS {
4
6
7struct ApproxReal {
8 double value = 0.0;
9 // Certified bound on the true value's distance from value; +infinity means unknown.
10 double absolute_error = 0.0;
12
13 bool is_finite() const noexcept { return status == NumericStatus::Finite; }
14};
15
19
20 bool is_finite() const noexcept {
21 return real.is_finite() && imag.is_finite();
22 }
23};
24
25}
@ Finite
Has a finite value or limit
bool is_finite() const noexcept
bool is_finite() const noexcept