Ad Widget

Collapse

[PATCH] fix possible wrong double detection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • teferi
    Member
    • Jul 2008
    • 93

    #1

    [PATCH] fix possible wrong double detection

    I'd suggest this small patch as currently if I'm not mistaken values like ' -123.123' would be considered not double for purposes of is_double function.
    Also I guess that doubles mostly consist of figures(numbers), so checking if the c[i] is a figure first is a bit more optimal =)
    Attached Files
    Last edited by teferi; 24-09-2009, 13:25. Reason: small correction
Working...