Search:

Type: Posts; User: Pnevma

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    4,400

    Program Crashing on Pointer Assignment

    #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) !=...
  2. Replies
    4
    Views
    3,461

    Thanks a lot! I understand it really well and my...

    Thanks a lot! I understand it really well and my program works perfectly, absolutely fantastic.
  3. Replies
    4
    Views
    3,461

    IEEE Representation of Floats

    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;
    }
    ...
Results 1 to 3 of 3