#include <stdlib.h>
#include <math.h>
int div32(long dividend, long divisor, long *quotient, long *rmdr)
{
*rmdr = dividend;
*quotient = 0;
int shifts = 0;
while ((divisor & 0x40) !=...
Type: Posts; User: Pnevma
#include <stdlib.h>
#include <math.h>
int div32(long dividend, long divisor, long *quotient, long *rmdr)
{
*rmdr = dividend;
*quotient = 0;
int shifts = 0;
while ((divisor & 0x40) !=...
Thanks a lot! I understand it really well and my program works perfectly, absolutely fantastic.
It is my understanding that float in c is stored as IEEE single precision representation. However
void main (int argv, char argc[])
{
float a = -341.274;
printf("%X\n",a);
return;
}
...