Changeset 0a520db in mainline for uspace/lib/c/generic
- Timestamp:
- 2019-01-10T18:39:16Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a91b828
- Parents:
- f47c2dc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-01-10 18:38:24)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-01-10 18:39:16)
- Location:
- uspace/lib/c/generic
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/double_to_str.c
rf47c2dc1 r0a520db 503 503 { 504 504 /* The whole computation assumes 64bit significand. */ 505 static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t) );505 static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t), ""); 506 506 507 507 if (ieee_val.is_special) { … … 754 754 { 755 755 /* The whole computation assumes 64bit significand. */ 756 static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t) );756 static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t), ""); 757 757 758 758 if (ieee_val.is_special) { -
uspace/lib/c/generic/ieee_double.c
rf47c2dc1 r0a520db 45 45 const int exponent_bias = 1075; 46 46 47 static_assert(sizeof(val) == sizeof(uint64_t) );47 static_assert(sizeof(val) == sizeof(uint64_t), ""); 48 48 49 49 union { -
uspace/lib/c/generic/time.c
rf47c2dc1 r0a520db 79 79 clock_t clock(void) 80 80 { 81 static_assert(CLOCKS_PER_SEC == 1000000 );81 static_assert(CLOCKS_PER_SEC == 1000000, ""); 82 82 83 83 size_t count;
Note:
See TracChangeset
for help on using the changeset viewer.