diff options
| author | coco875 <pereira.jannin@gmail.com> | 2024-12-21 23:59:49 +0100 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-12-22 14:04:21 -0600 |
| commit | 94d72ce4089e29df9d4ae7dda6d97ef3babeaff1 (patch) | |
| tree | 98ff063a0db6238eaa6a527dd4852a9d8fb48958 | |
| parent | 443b7ae602a1374295326b2788c6c86c4e2780ad (diff) | |
Update math.h
| -rw-r--r-- | include/libc/math.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/libc/math.h b/include/libc/math.h index 3adb229f..b523798d 100644 --- a/include/libc/math.h +++ b/include/libc/math.h @@ -50,11 +50,12 @@ typedef union { #ifdef __cplusplus
extern "C" {
-#endif
+f32 __sinf(f32) throw();
+f32 __cosf(f32) throw();
+}
+#else
f32 __sinf(f32);
f32 __cosf(f32);
-#ifdef __cplusplus
-}
#endif
#endif
|
