specd ~master (2022-04-23T18:48:23.9905249)
Dub
Repo
Match.approxEqual
specd
matchers
Match
Undocumented in source. Be warned that the author may not have intended to support it.
bool
approxEqual
(T rhs, T maxRelDiff, T maxAbsDiff)
class
Match
(T)
static if
(
isFloatingPoint!T
)
bool
approxEqual
(
T
rhs
,
T
maxRelDiff
= 1e-2
,
T
maxAbsDiff
= 1e-5
)
bool
approxEqual
(T rhs, ElementType!T maxRelDiff, ElementType!T maxAbsDiff)
Meta
Source
See Implementation
specd
matchers
Match
constructors
this
functions
approxEqual
be
not
opEquals
throwMatchException
variables
dummyMatch
file
isPositiveMatch
line
match