Paul Matthews <plm@netspace.net.au> writes:
> Just trying to implement correct C99 behaviour here.
Around here we tend to read the Single Unix Spec before C99, and SUS
saith something different:
http://www.opengroup.org/onlinepubs/007908799/xsh/hypot.html
It would be serious folly for us to suppose that every platform's
version of hypot() behaves exactly the same for these corner cases,
anyway. If you're proposing to write code that would depend on that,
we need to call it something else and not pretend that it's just a
fill-in for platforms that lack hypot() entirely.
regards, tom lane