DevPinoy.org
A Filipino Developers Community
All Tags » .NET » math (RSS)

>>> First two to make 3 wins! <<<

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • DivideByZeroException and floating points

    i was experimenting with ExpectedException attribute of NUnit when i noticed that a DivideByZeroException was not thrown when a division by zero was done within variables of type double. instead, i got a PositiveInfinity quotient for my sample routine so I consulted the docs and it was another IEE standard...
    Posted to jokiz by jokiz on 03-01-2006
    Filed under: Filed under: , ,
  • Rounding off numbers

    Back in grade school (Third Grade if I can remember it correctly), rounding off a number which is exactly in between (halfway) follows the “nearest even rule”. Rounding off 0.5 and 1.5 to their nearest units digit gives: 2.5 -> 2 3.5 -> 4 After that, perhaps in high school, a new rule was presented...
    Posted to jokiz by jokiz on 01-14-2005
    Filed under: Filed under: , , ,
Page 1 of 1 (2 items)

Copyright DevPinoy 2005-2008