repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove building with NOCRYPTO option
[minix.git]
/
lib
/
libc
/
arch
/
hppa
/
gen
/
fabs.c
blob
f08f504c261265d0497ee203da9c9c3da40d6988
1
/* $NetBSD: fabs.c,v 1.4 2005/12/24 21:42:32 perry Exp $ */
2
3
/* $OpenBSD: fabs.c,v 1.3 2002/10/21 18:41:05 mickey Exp $ */
4
5
/*
6
* Written by Miodrag Vallat. Public domain
7
*/
8
9
#include <math.h>
10
11
double
12
fabs
(
double
val
)
13
{
14
15
__asm
volatile
(
"fabs,dbl %0,%0"
:
"+f"
(
val
));
16
return
(
val
);
17
}