Edit online

Sine 函数

3 Mar 2025
Read time: 1 minute(s)

Sine 函数的输入输出参数如下表:

1. Sine 函数的输入输出参数

参数

数据格式

描述

范围

参数 1

16 位定点数 Q15

角度 θ(弧度,除 π)

[-1, 0.999969482]

参数 2

16 位定点数 Q15

模 A

[0, 0.999969482]

结果 1

16 位定点数 Q15

A × sin (θ × π)

[-0.999969482, 0.999969482]

结果 2

16 位定点数 Q15

A × cos (θ × π)

[-0.999969482, 0.999969482]