diff options
| author | elijah-thomas774 <elijahthomas774@gmail.com> | 2025-06-08 00:35:02 -0400 |
|---|---|---|
| committer | elijah-thomas774 <elijahthomas774@gmail.com> | 2025-06-08 00:35:02 -0400 |
| commit | 657f2455ff276a72f52708890fba83e9065b89cd (patch) | |
| tree | a7253035d278bc6b20d32f56ac5f8bea045ab3c6 /src/PowerPC_EABI_Support | |
| parent | 86b6ef11c8bb0943fea9bd8cfefd65f323898963 (diff) | |
use cmath for sinf/cosf
Diffstat (limited to 'src/PowerPC_EABI_Support')
| -rw-r--r-- | src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/cmath | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/cmath b/src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/cmath index d6685a2a..492c6fda 100644 --- a/src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/cmath +++ b/src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/cmath @@ -33,7 +33,7 @@ using ::modff; using ::pow; using ::scalbn; using ::sin; -using ::sinf; +// using ::sinf; using ::sqrt; // using ::sqrtf; using ::tan; @@ -51,6 +51,10 @@ inline float cosf(float x) { return cos(x); } +inline float sinf(float x) { + return sin(x); +} + inline float sqrtf(float x) { return ::sqrtf(x); } |
