Thread: Something about a bit trigeometry and C++

  1. #16
    Registered User
    Join Date
    Aug 2006
    Location
    Israel
    Posts
    33
    Thanks for that, its also a good website.
    Okay you can now relax, I won't bother you anymore with math questions lol

  2. #17
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    > 4.48966e-011.
    > Now, I have already learned about E notation, but can't the number just be 0?
    Get used to floats being approximations.

    Whilst it is not zero, it is in fact pretty darn close to zero.
    0.0000000000448966

    http://docs.sun.com/source/806-3568/ncg_goldberg.html
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed