gfx ~master (2021-03-28T16:54:18Z)
Dub
Repo
scalarApproxRel.scalarApproxRel
gfx
math
approx
scalarApproxRel
Undocumented in source. Be warned that the author may not have intended to support it.
template
scalarApproxRel
(T)
pure @
safe
@
nogc
nothrow
bool
scalarApproxRel
(
in
T
a
,
in
T
b
,
in
T
maxEps
= 4 *
T.epsilon
)
if
(
isFloatingPoint
!
T
)
Meta
Source
See Implementation
gfx
math
approx
scalarApproxRel
functions
scalarApproxRel