Changeset 9e7406a in mainline for uspace/lib/c/generic/ieee_double.c
- Timestamp:
- 2019-02-12T19:59:51Z (6 years ago)
- Children:
- 69eaaeee
- Parents:
- 401415a
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 19:38:33)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 19:59:51)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/ieee_double.c
r401415a r9e7406a 92 92 if (ret.is_denormal) { 93 93 ret.pos_val.significand = raw_significand; 94 if (raw_significand == 0) { 95 ret.pos_val.exponent = -exponent_bias; 96 } else { 97 ret.pos_val.exponent = 1 - exponent_bias; 98 } 99 94 ret.pos_val.exponent = 1 - exponent_bias; 100 95 ret.is_accuracy_step = false; 101 96 } else {
Note:
See TracChangeset
for help on using the changeset viewer.