ack/lang/basic/lib/abs.c
2018-06-24 00:35:51 +02:00

11 lines
122 B
C

#include "lib.h"
long _abl(long i)
{
return (i >= 0 ? i : -i);
}
double _abr(double f)
{
return (f >= 0.0 ? f : -f);
}