User Profile
Collapse
-
Unless you have really solid guarantees than none of those functions can return null, you need to break it down and consider what it means when they do. Also, if the entities you're ultimately expecting to compare are strings, != is almost guaranteed to be the wrong comparison. -
the bottom line is that you should never expect any floating point calculation to yield an exact value. It's not a bug, but an intrinsic tradeoff in the design.Leave a comment:
-
I think you are confusing debugging with something else. Dealing with the crap produced by misbehavior of someone else's program is not debugging. Google is a wonderful tool for this.
Debugging is moving your own program from concept to release. These days there is virtually no one writing code for bare metal, and so even real debugging involves dealing with lots of the above crap.Leave a comment:
-
make both images the same size, but make the "smaller" image transparent on it's edges.Leave a comment:
-
IEEE floating point numbers cannot represent exact decimal values. Base 2 is not Base 10.Leave a comment:
-
-
-
Linux is Free. Every virtual server that runs windows pays a licence fee to Micro$softLeave a comment:
No activity results to display
Show More
Leave a comment: