sqrtl.c\m68k\math\src - 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/m68k/sqrtl.c
blob: b1c303c7e2696bd21ece2f50c85857b9dcb4c978 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <math.h>
#if __HAVE_68881__
long double sqrtl(long double x)
{
	__asm__ ("fsqrt.x %1,%0" : "=f"(x) : "fm"(x));
	return x;
}
#else
#include "../sqrtl.c"
#endif
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月06日 01:45:42 +0000

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