Logiweb(TM)

Logiweb aspects of logbitp ( " , " ) in pyk

Up Help

The "pyk" aspect

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

The "value" aspect

optimized define value of logbitp ( x , i ) as norm { x is val : { i is val : { x is int : { i is int : if x < 0 then exception else oddp ( ash ( i , - x ) ) } } } } 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