Changeset 547


Ignore:
Timestamp:
02/11/09 17:52:46 (3 years ago)
Author:
mooneer
Message:

Fixed typo in float class (for the division by zero check).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • interpreter/trunk/modules/System/float.c

    r503 r547  
    5656 
    5757#define CHECK_DIVIDE_BY_ZERO \ 
    58     if (rhs->builtin_data.intvalue == 0) { \ 
     58    if (rhs->builtin_data.floatvalue == 0) { \ 
    5959        exc = kite_new_exception(thd, "System.exceptions.DivideByZero", \ 
    6060                            "Division by zero is not possible."); \ 
Note: See TracChangeset for help on using the changeset viewer.