Re: [PATCH] MAX.3, MIN.3: New page (and link page) to document MAX() and MIN()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/12/21 3:32 PM, Alejandro Colomar (man-pages) wrote:
In which case they might not be evaluated at all?  I'm curious.
Maybe if one of the arguments is literal NAN and the implementation
raises an exception for it?

Or, one argument of MIN might be negative and the other might be unsigned short. In that case, the unsigned short argument need not be evaluated at all. Admittedly not something we'd be likely to optimize for, but the documentation shouldn't preclude such optimization.



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux