|
@ -114,4 +114,9 @@ float addition_float(float number1, float number2) { |
|
|
unsigned long sign_double(unsigned long a) { |
|
|
unsigned long sign_double(unsigned long a) { |
|
|
if (a & 0x8000000000000000 == 0x8000000000000000) return 1; |
|
|
if (a & 0x8000000000000000 == 0x8000000000000000) return 1; |
|
|
else return 0; |
|
|
else return 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
unsigned long precision_double(unsigned long a) { |
|
|
|
|
|
a &= 0x000fffffffffffff; |
|
|
|
|
|
return a; |
|
|
} |
|
|
} |