Logiweb(TM)

Logiweb aspects of floor ( " , " ) in pyk

Up Help

The "pyk" aspect

Define pyk of floor ( asterisk , asterisk ) as "floor ( "! , "! )" end define

The "value" aspect

optimized define value of floor ( x , y ) as if y <= 0 then exception else if 0 <= x then floor1 ( x , y ) else reverse quotient ( ceiling1 ( - x , y ) ) end define

The pyk compiler, version 0.1.9 by Klaus Grue,
GRD-2007-07-12.UTC:20:10:57.067491 = MJD-54293.TAI:20:11:30.067491 = LGT-4690987890067491e-6