34 lines
922 B
C
34 lines
922 B
C
//----------------------------------------------------------------------------//
|
|
// GNU GPL OS/K //
|
|
// //
|
|
// Authors: spectral` //
|
|
// NeoX //
|
|
// //
|
|
// Desc: Arithmetical functions //
|
|
//----------------------------------------------------------------------------//
|
|
|
|
// do not mask anything
|
|
#define _KALMASK_H
|
|
#include <kaleid.h>
|
|
|
|
int _osk_abs(int x)
|
|
{
|
|
return abs(x);
|
|
}
|
|
|
|
long _osk_labs(long x)
|
|
{
|
|
return labs(x);
|
|
}
|
|
|
|
div_t _osk_div(int x, int y)
|
|
{
|
|
return div(x, y);
|
|
}
|
|
|
|
ldiv_t _osk_ldiv(long x, long y)
|
|
{
|
|
return ldiv(x, y);
|
|
}
|
|
|