musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/math/scalbf.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013年12月12日 03:42:11 +0000
committerSzabolcs Nagy <nsz@port70.net>2013年12月12日 03:42:11 +0000
commitec411999a0262c8e3e6be53ae11ad761776a2fc1 (patch)
treef3544c743f39bbbe63afe7ee3cf07daf40c6fa0e /src/math/scalbf.c
parent8708e137d68480f4b996bfec2cd2ca596f1105d7 (diff)
downloadmusl-ec411999a0262c8e3e6be53ae11ad761776a2fc1.tar.gz
math: define _GNU_SOURCE when implementing non-standard math functions
this makes the prototypes in math.h are visible so they are checked agaist the function definitions
Diffstat (limited to 'src/math/scalbf.c')
-rw-r--r--src/math/scalbf.c 1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/scalbf.c b/src/math/scalbf.c
index 94364974..f44ed5b6 100644
--- a/src/math/scalbf.c
+++ b/src/math/scalbf.c
@@ -13,6 +13,7 @@
* ====================================================
*/
+#define _GNU_SOURCE
#include <math.h>
float scalbf(float x, float fn)
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月18日 01:46:15 +0000

AltStyle によって変換されたページ (->オリジナル) /