Changeset 7211

Show
Ignore:
Timestamp:
10/01/05 11:51:53 (3 years ago)
Author:
brentdax
Message:

Temporary fix to make ceil, floor, round work.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/perl6/Prelude.pm

    r7114 r7211  
    467467    } 
    468468    sub round($n) is primitive is safe { 
    469         round_gen($n, &do_round) 
     469        Num::round_gen($n, &Num::do_round) 
    470470    } 
    471471 
     
    479479    } 
    480480    sub ceiling($n) is primitive is safe { 
    481         round_gen($n, &do_ceil) 
     481        Num::round_gen($n, &Num::do_ceil) 
    482482    } 
    483483    our &ceil ::= &ceiling; 
     
    487487    } 
    488488    sub floor($n) is primitive is safe { 
    489         round_gen($n, &do_floor) 
     489        Num::round_gen($n, &Num::do_floor) 
    490490    } 
    491491}