Changeset 1433ecda in mainline for uspace/lib/softfloat/add.c
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/softfloat/add.c
r47b2d7e3 r1433ecda 383 383 384 384 lshift128(FLOAT128_HIDDEN_BIT_MASK_HI, FLOAT128_HIDDEN_BIT_MASK_LO, 7, 385 &tmp_hi, &tmp_lo);385 &tmp_hi, &tmp_lo); 386 386 and128(frac1_hi, frac1_lo, tmp_hi, tmp_lo, &tmp_hi, &tmp_lo); 387 387 if (lt128(0x0ll, 0x0ll, tmp_hi, tmp_lo)) { … … 391 391 } 392 392 393 if ((exp1 == FLOAT128_MAX_EXPONENT 393 if ((exp1 == FLOAT128_MAX_EXPONENT) || (exp2 > exp1)) { 394 394 /* overflow - set infinity as result */ 395 395 a.parts.exp = FLOAT64_MAX_EXPONENT;
Note:
See TracChangeset
for help on using the changeset viewer.