sinPi

Returns sine of x*π.

@IEEECompliant("sinPi", 42)
D
sinPi
(
D
)
(
auto const ref D x
)

Throws

InvalidOperationExceptionx is signaling NaN or ±∞
UnderflowExceptionresult is too small to be represented
InexactExceptionthe result is inexact

Special values

xsin(x)
NaNNaN
±∞NaN
-1/2-1.0
-1/3-√3/2
-1/4-√2/2
-1/6-0.5
±0.0+0.0
+1/6+0.5
+1/4+√2/2
+1/3+√3/2
+1/2+1.0

Meta