Changeset 1cf26ab in mainline for uspace/lib/c/generic/double_to_str.c
- Timestamp:
- 2016-05-14T06:44:37Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 362654a
- Parents:
- 1023758
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/double_to_str.c
r1023758 r1cf26ab 505 505 { 506 506 /* The whole computation assumes 64bit significand. */ 507 assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t));507 static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t)); 508 508 509 509 if (ieee_val.is_special) { … … 753 753 { 754 754 /* The whole computation assumes 64bit significand. */ 755 assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t));755 static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t)); 756 756 757 757 if (ieee_val.is_special) {
Note:
See TracChangeset
for help on using the changeset viewer.