Re: python math problem

Discussion in 'Python' started by Kene Meniru, Feb 15, 2013.

  1. Kene Meniru

    Kene Meniru Guest

    Joel Goldstick wrote:

    >
    > This is not a string, it is scientific notion for 1.53... times 10 to the
    > -15th power. Because of rounding errors caused by doing floating point
    > math on in binary, you get a very small number instead of 0.
    >


    I was just doing some testing and it was not equating to zero. Perhaps if I
    rounded it up I may be more successful.

    --

    Kene
    ::::::::::::::::::
    Kene Meniru, Feb 15, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. chirs
    Replies:
    18
    Views:
    756
    Chris Uppal
    Mar 2, 2004
  2. AciD_X
    Replies:
    4
    Views:
    8,091
    Jonathan Turkanis
    Apr 1, 2004
  3. Mark Healey
    Replies:
    7
    Views:
    1,474
    Tim Prince
    May 22, 2006
  4. Philipp
    Replies:
    9
    Views:
    1,108
    Mark Space
    Jul 23, 2008
  5. VK
    Replies:
    15
    Views:
    1,154
    Dr J R Stockton
    May 2, 2010
Loading...

Share This Page