Search:

Type: Posts; User: mccoz

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,476

    Thanks for the hint, it returns: 2 The system...

    Thanks for the hint, it returns:
    2 The system cannot find the file specified. ERROR_FILE_NOT_FOUND
    But why does the exact same code work within the dos box application? How do I have to specify...
  2. Replies
    2
    Views
    2,476

    problems with giveio in win2k

    Hi all,

    I am trying to access ports via the giveio.sys driver but I can't even open it.
    In Visual C++ I built a normal Dos Box application and the routine ran fine but when I use the same stuff...
  3. Replies
    9
    Views
    12,500

    Yes, thanks for all your answers! It is clear to...

    Yes, thanks for all your answers! It is clear to me now that there is no other solution than to stick with the rounding and range / tolerance test for comparing doubles.
    Thanks again to all of you!
  4. Replies
    9
    Views
    12,500

    Thanks Dave! I thought there might be some...

    Thanks Dave!

    I thought there might be some trick how to circumvent having to deal with these small deviations since that accuracy is not needed. It's pretty awkward to always use rounding and do...
  5. Replies
    9
    Views
    12,500

    p.s.: I am rounding so often that it really is an...

    p.s.: I am rounding so often that it really is an efficiency issue for the program. That's why I am concerned with this question.
  6. Replies
    9
    Views
    12,500

    Thanks for the hint, Dave! I used the values...

    Thanks for the hint, Dave!

    I used the values which the visual c++ debugger gives in its watches but those are obviously not accurate enough. Using print I indeed got:
    x =...
  7. Replies
    9
    Views
    12,500

    preventing rounding problems with doubles

    Hi there!

    I have a problem with an algorithm I wrote: I must use double representation for the values but different sequences of arithmetic operations which are supposed to result in equal numbers...
Results 1 to 7 of 7