Ray Racine wrote: > I'm looking for bitwise-logical-shift or at a minimum a > bitwise-logical-shift-right. R6RS bitwise appears to support only > arithmetic shifts. > > Is this an oversight or on purpose??
On purpose, I think. How would a logical right shift on exact integers of unlimited precision differ from an arithmetic right shift? > I do note Larceny has fxrshl. On fixnums, which are of limited precision, arithmetic shifts are not the same as logical shifts. Are you looking for an R6RS-portable way to perform logical shifts on fixnums? Will _______________________________________________ Larceny-users mailing list [email protected] https://lists.ccs.neu.edu/bin/listinfo/larceny-users
