Thread: what does this mean

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    494
    ah yes, jesus im blind

    ok i corrected the for loop but now the result is ugly, no errors, no warnings, but an ugly wrong result
    Code:
     -1. #IND
    any ideas?
    Last edited by InvariantLoop; 02-12-2005 at 07:46 PM.
    When no one helps you out. Call google();

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    Code:
     -1. #IND
    This means the result was not a number/indeterminate. You get this result when the operation is not mathematically defined.
    http://stevehollasch.com/cgindex/coding/ieeefloat.html
    http://www.google.com/search?q=%23INDeterminate+nan

    You are getting this result because you are performing maths on an array of numbers that have not been initialised.

Popular pages Recent additions subscribe to a feed