gfx ~master (2022-03-26T21:17:36.9160143)
Dub
Repo
scalarApproxUlpAndAbs.scalarApproxUlpAndAbs
gfx
math
approx
scalarApproxUlpAndAbs
Undocumented in source. Be warned that the author may not have intended to support it.
template
scalarApproxUlpAndAbs
(T)
pure @
safe
@
nogc
nothrow
bool
scalarApproxUlpAndAbs
(
in
T
a
,
in
T
b
,
in
T
maxAbs
= 0.0001
,
in
ulong
maxUlps
= 4
)
if
(
isFloatingPoint
!
T
)
Meta
Source
See Implementation
gfx
math
approx
scalarApproxUlpAndAbs
functions
scalarApproxUlpAndAbs