[comp.lang.c] / and %

gwyn@smoke.BRL.MIL (Doug Gwyn) (09/21/89)

In article <29775@news.Think.COM> barmar@think.COM (Barry Margolin) writes:
>(personally, I think the implementation-dependent behavior of "/" and "%"
>is one of C's biggest warts, but I know that it's way too late to change it).

I could live with that, which is after all intended to permit the "natural"
machine operations to be used even though they're usually poorly designed.
The REALLY irksome thing is that there are something like four "mod"-like
functions and operators, none of them guaranteed to act like a true mod
operation!