catan and catanh can miss underflow exceptions in the case where the tiny result comes from the multiplication of a log by 0.25, and that multiplication is exact although the mathematical result of the log wasn't exact. Examples on x86_64 are catan (0x1p511 + 0.5i) and catanh (0.5 + 0x1p511i). (Before my recent fix for bug 15394, the tiny results would have been given inaccurately as 0, but still with missing underflow exception.)
Fixed for 2.18 by: commit 9457fd952cafc701375fc9fae575a4aca1374de3 Author: Joseph Myers <joseph@codesourcery.com> Date: Fri Apr 26 19:26:22 2013 +0000 Fix catan, catanh missing underflows (bug 15406).