FORTRAN 77 on PDP-11

Brad Parker brad at heeltoe.com
Thu Jul 28 10:29:57 CDT 2005


Paul Koning wrote:
>
>Given UNSIGNED variables:
>      c = a + b;
>      if (c < a)
>      {   /* you got a carry */  }

huh.  and to think of all the cycles I wasted using long long with a 33
bit shift :-)

that's a nice trick - thanks!

-brad


More information about the cctalk mailing list