graphite v1.6.0 (2015-10-03T07:25:20Z)
Home
Dub
Repo
satOp
graphite
math
saturation
see:
http://locklessinc.com/articles/sat_arithmetic/
T
satOp
(T a, T b)
T
satOp
(T a, T b)
T
satOp
(T a, T b)
T
satOp
(T a, T b)
T
satOp
(
string
op
: "*"
T
)
(
T
a
,
T
b
)
if
(
isIntegral
!
T
&&
isUnsigned
!
T
)
Meta
Source
See Implementation
graphite
math
saturation
functions
satOp
see: http://locklessinc.com/articles/sat_arithmetic/