gfx ~master (2021-03-28T16:54:18Z)
Dub
Repo
scalarApproxUlp
gfx
math
approx
Determines if two floating point scalars are maxUlps close to each other.
template
scalarApproxUlp
(T)
pure @
safe
@
nogc
nothrow
bool
scalarApproxUlp
(
in
T
a
,
in
T
b
,
in
ulong
maxUlps
= 4
)
if
(
isFloatingPoint
!
T
)
Members
Functions
scalarApproxUlp
bool
scalarApproxUlp
(T a, T b, ulong maxUlps)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
gfx
math
approx
aliases
approxRel
approxRelAndAbs
approxUlp
approxUlpAndAbs
enums
ApproxMethod
functions
approx
templates
scalarApproxRel
scalarApproxRelAndAbs
scalarApproxUlp
scalarApproxUlpAndAbs
ulpDiff
Determines if two floating point scalars are maxUlps close to each other.