Changeset 7c3fb9b in mainline for uspace/lib/softfloat/comparison.c


Ignore:
Timestamp:
2018-05-17T08:29:01Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

File:
1 edited

Legend:

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

    rfac0ac7 r7c3fb9b  
    8585int is_float32_signan(float32 f)
    8686{
    87         /* SigNaN : exp = 0xff and fraction = 0xxxxx..x (binary),
    88          * where at least one x is nonzero */
     87        /*
     88         * SigNaN : exp = 0xff and fraction = 0xxxxx..x (binary),
     89         * where at least one x is nonzero
     90         */
    8991        return ((f.parts.exp == 0xFF) &&
    9092            (f.parts.fraction < 0x400000) && (f.parts.fraction));
     
    99101int is_float64_signan(float64 d)
    100102{
    101         /* SigNaN : exp = 0x7ff and fraction = 0xxxxx..x (binary),
    102          * where at least one x is nonzero */
     103        /*
     104         * SigNaN : exp = 0x7ff and fraction = 0xxxxx..x (binary),
     105         * where at least one x is nonzero
     106         */
    103107        return ((d.parts.exp == 0x7FF) &&
    104108            (d.parts.fraction) && (d.parts.fraction < 0x8000000000000ll));
     
    113117int is_float128_signan(float128 ld)
    114118{
    115         /* SigNaN : exp = 0x7fff and fraction = 0xxxxx..x (binary),
    116          * where at least one x is nonzero */
     119        /*
     120         * SigNaN : exp = 0x7fff and fraction = 0xxxxx..x (binary),
     121         * where at least one x is nonzero
     122         */
    117123        return ((ld.parts.exp == 0x7FFF) &&
    118124            (ld.parts.frac_hi || ld.parts.frac_lo) &&
Note: See TracChangeset for help on using the changeset viewer.