nextPow10

Gives the next power of 10 after x.

D
nextPow10
(
D
)
(
auto const ref D x
)

Throws

InvalidOperationExceptionx is signaling NaN
OverflowExceptionresult is too big to be represented

Special values

xnextPow10(x)
NaNNaN
±∞±∞
±0.0+1.0

Meta