CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: evertonland

Search: Search took 0.02 seconds.

  1. Replies
    11
    Views
    9,129

    Re: Strange differences in float calculations

    Thanks Paul for your response.

    @monarch_dodra: If you want to play around with the code, I'd be happy to let you have it. I just have to check with my boss first. That being said, the code is...
  2. Replies
    11
    Views
    9,129

    Re: Strange differences in float calculations

    Thank you both for the quick replies.

    @Lindley: I was aware that there are compiler optimizations that affect the result of float calculations, but I hadn't thought of it optimizing diffently...
  3. Replies
    11
    Views
    9,129

    Strange differences in float calculations

    Dear all,

    I'm doing some work with images, and I've come across the strangest thing:

    I have an array of float values, if I initialize it to zero and sum a series of floats on the array itself...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured