Search:

Type: Posts; User: SnertyStan

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    5,775

    Flushing helped a lot. I found the error - I was...

    Flushing helped a lot. I found the error - I was trying to cram 2 lines into one where I shouldn't have. Thanks Pete.
  2. Replies
    13
    Views
    5,775

    Oh I can provide the code, it's just that it's...

    Oh I can provide the code, it's just that it's rather large and I don't think anyone would want to bother looking at it. Here it is though: http://pastebin.com/d5baf9655

    The error seems to be...
  3. Replies
    13
    Views
    5,775

    Not sure about processor, and I'm remotely...

    Not sure about processor, and I'm remotely connecting to the machine. Using gcc.

    Looks like that actually wasn't it, but this is still not making any sense.

    I print the values of a and b just...
  4. Replies
    13
    Views
    5,775

    Yes, I'm sure. a - b was a loop condition, but I...

    Yes, I'm sure. a - b was a loop condition, but I pulled this out before the loop and using my usual debugging method, printed both the values of a and b right before the subtraction. I printed...
  5. Replies
    13
    Views
    5,775

    Getting a floating point exception

    I'm getting a strange floating point exception. I have:
    unsigned long int a;
    unsigned long int b;

    a is assigned a value of 1356 at some point, and b is assigned a value of 1355 at another point....
Results 1 to 5 of 5