Incorrect no-libc definition of cos, making it unavailable for wasm.

This commit is contained in:
Christoffer Lerno
2024-12-12 21:50:56 +01:00
parent e8ff4af5b9
commit 5d31cdfa16
2 changed files with 2 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ fn float _cosf(float x) @extern("cosf") @weak @nostrip
* ====================================================
*/
fn double _cos(double x) @weak @nostrip
fn double _cos(double x) @extern("cos") @weak @nostrip
{
// High word of x.
uint ix = (uint)(bitcast(x, ulong) >> 32);