On Mon, Apr 19, 2010 at 03:03:19PM -0400, erik quanstrom wrote:
> On Mon Apr 19 14:57:02 EDT 2010, benave...@gmail.com wrote:
> > check getfcr(2)
> > 
> >  http://plan9.bell-labs.com/magic/man2html?man=getfcr&sect=2
> > 
> > it's in lib9.h for ape
> 
> this doesn't apply to the integer calcuations in question.

Nonetheless, thanks for the tips, guys! but I think I have found:

-7 / 2          yields -3 

(symetric of 7 / 2, but no guarante from C for negatives) while:

-7 >> 1         yields -4

(floor, what is wanted by METAFONT).

Uh!
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                      http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

Reply via email to