mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-23 15:02:27 +00:00
30 lines
267 B
C
30 lines
267 B
C
|
int not3(int n)
|
||
|
{
|
||
|
return n != 3;
|
||
|
}
|
||
|
|
||
|
int bytes(int n)
|
||
|
{
|
||
|
return (n + 7) / 8;
|
||
|
}
|
||
|
|
||
|
long long shr32(long long n)
|
||
|
{
|
||
|
return n >> 32;
|
||
|
}
|
||
|
|
||
|
double double5(void)
|
||
|
{
|
||
|
return 5.0;
|
||
|
}
|
||
|
|
||
|
int intbytes(void)
|
||
|
{
|
||
|
return sizeof(int);
|
||
|
}
|
||
|
|
||
|
int longbytes(void)
|
||
|
{
|
||
|
return sizeof(long);
|
||
|
}
|