Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/softfloat/comparison.c

    r7c3fb9b r3212921  
    8585int is_float32_signan(float32 f)
    8686{
    87         /*
    88          * SigNaN : exp = 0xff and fraction = 0xxxxx..x (binary),
    89          * where at least one x is nonzero
    90          */
     87        /* SigNaN : exp = 0xff and fraction = 0xxxxx..x (binary),
     88         * where at least one x is nonzero */
    9189        return ((f.parts.exp == 0xFF) &&
    9290            (f.parts.fraction < 0x400000) && (f.parts.fraction));
     
    10199int is_float64_signan(float64 d)
    102100{
    103         /*
    104          * SigNaN : exp = 0x7ff and fraction = 0xxxxx..x (binary),
    105          * where at least one x is nonzero
    106          */
     101        /* SigNaN : exp = 0x7ff and fraction = 0xxxxx..x (binary),
     102         * where at least one x is nonzero */
    107103        return ((d.parts.exp == 0x7FF) &&
    108104            (d.parts.fraction) && (d.parts.fraction < 0x8000000000000ll));
     
    117113int is_float128_signan(float128 ld)
    118114{
    119         /*
    120          * SigNaN : exp = 0x7fff and fraction = 0xxxxx..x (binary),
    121          * where at least one x is nonzero
    122          */
     115        /* SigNaN : exp = 0x7fff and fraction = 0xxxxx..x (binary),
     116         * where at least one x is nonzero */
    123117        return ((ld.parts.exp == 0x7FFF) &&
    124118            (ld.parts.frac_hi || ld.parts.frac_lo) &&
Note: See TracChangeset for help on using the changeset viewer.