in Search
     

Browse Site by Tags

Showing related tags and posts accross the entire site.
All Tags » TDD » math (RSS)
  • 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 Weblog by jokiz on 03-01-2006
Page 1 of 1 (1 items)