Something about a bit trigeometry and C++

This is a discussion on Something about a bit trigeometry and C++ within the C++ Programming forums, part of the General Programming Boards category; Thanks for that, its also a good website. Okay you can now relax, I won't bother you anymore with math ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,494
    > 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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21