Re:The joy of max()
by loeg on Friday March 30, 2018 @11:25PM
(#16721511)
The C version works with distinct types for a and b. Does this?
[ Parent
| on HN ]
That's not a feature, it's more bug prone.
This one works too, if they are implicitly convertible (e.g. max(1, 2.0))