[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] MIN, MAX and ABS (second)
From: |
Oskar Liljeblad |
Subject: |
[Bug-gnulib] MIN, MAX and ABS (second) |
Date: |
Sat, 27 Sep 2003 19:22:56 +0200 |
User-agent: |
Mutt/1.5.4i |
Well, I just "opened" my mind about the evaluate-once MIN/MAX:
If you assume that arguments to MIN/MAX may be evaluated more
than once, then evaluate-once MIN/MAX will work just as well.
It is very rare that you require SOME argument to MIN/MAX be
evaluated twice. In my experience, it is so rare that the
mistake of assuming that the arguments to MIN/MAX are only
evaluated once is more common...
(And on top of this, I haven't even looked into the type-related
consequences of the gcc approach...)
Anyway - having this said - there is still a need for an
ABS macro. :)
Regards,
Oskar Liljeblad (address@hidden)
- [Bug-gnulib] MIN, MAX and ABS (second),
Oskar Liljeblad <=