sinpi
Computes sin(X * pi) accurately.
📝 Syntax
res = sinpi(x)
📥 Input argument
x - a numeric value
📤 Output argument
res - a numeric value
📄 Description
res = sinpi(x) computes sin(x * pi) accurately.
For odd integers, sinpi(x / 2) is +1 or -1.
For integers, sinpi(x) is exactly zero.
💡 Example
🔗 See also
🕔 History
Version
📄 Description
1.0.0
initial version
Last updated
Was this helpful?