Search:

Type: Posts; User: DanV2

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    10,355

    Right, like iMalc mentioned, the while loops are...

    Right, like iMalc mentioned, the while loops are for normalizing the mantissa of the result. The fraction part of an IEEE Floating point number should be 23 bits with an implied 1 bit, so the while...
  2. Replies
    15
    Views
    10,355

    It's okay, I actually managed to work it out. I...

    It's okay, I actually managed to work it out. I don't know why, but when dividing values that resulted in a fraction part with a value other than 0, the exponent of the result would be off by one...
  3. Replies
    15
    Views
    10,355

    Ok, so you guys have been VERY helpful so far,...

    Ok, so you guys have been VERY helpful so far, especially itCbitC, and I definitely appreciate it. I am almost done with the program but have one small problem I can't seem to figure out with...
  4. Replies
    15
    Views
    10,355

    Okay, well that all makes sense and seems very...

    Okay, well that all makes sense and seems very logical. Now, however, I am still a bit puzzled. I emailed my TA the other day but haven't gotten a response yet, so I turn to here.

    So I can...
  5. Replies
    15
    Views
    10,355

    Ok, so I'm still having a bit of trouble. I...

    Ok, so I'm still having a bit of trouble. I realize now that the decimal is not stored how I thought it was. But now I'm not sure how I can store the decimal for performing the operations and...
  6. Replies
    15
    Views
    10,355

    Oh... well that makes a lot more sense, I guess I...

    Oh... well that makes a lot more sense, I guess I was just being a little dumb about it :p

    I'll be taking another go at the lab tonight, and if I run into any other major road blocks, hopefully...
  7. Replies
    15
    Views
    10,355

    Floating Point Bit Level Arithmetic

    Hello, for a CS lab I am supposed to take two floating point numbers some operation to perform on them as input, and then perform the operation between the two numbers at the bit level. This means...
  8. Replies
    2
    Views
    2,294

    Hmmm, okay. I guess I'll try implementation with...

    Hmmm, okay. I guess I'll try implementation with another method of reading in from stdin... Didn't realize scanf() could be so flawed... Oh well, onward to rewriting :D
  9. Replies
    2
    Views
    2,294

    scanf/printf unexpected behavior

    Ok, so over the summer I started making a simple tic-tac-toe program in my spare time to get some practice with pointers, structs, and programming in C in general. Overall, the program has been...
Results 1 to 9 of 9