8000 minix/lib/ack/libm2/absd.c at R3.1.3 · gezidan/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
executable file
·
18 lines (17 loc) · 325 Bytes

absd.c

File metadata and controls

executable file
·
18 lines (17 loc) · 325 Bytes
/*
(c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/*
Module: double abs function
Author: Ceriel J.H. Jacobs
Version: $Header$
*/
#ifndef NOFLOAT
double
absd(i)
double i;
{
return i >= 0 ? i : -i;
}
#endif
0