[cfe-dev] How to identify a subnormal floating point?

Eli Friedman eli.friedman at gmail.com
Tue Jul 3 11:33:42 PDT 2012

On Tue, Jul 3, 2012 at 11:24 AM, Peng Li <peterlee at cs.utah.edu> wrote:
> Hi There
> In APFloat class, I got the answer about how to identify a normal FP,
> but could you please
> clarify how to identify a subnormal FP, I think there is no
> straightforward function to be invoked.

Just do a compare against APFloat::getSmallestNormalized().


More information about the cfe-dev mailing list