Changeset ebb1489 in mainline for uspace/lib/c/test/double_to_str.c
- Timestamp:
- 2024-10-13T08:23:40Z (8 weeks ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/test/double_to_str.c
r2a0c827c rebb1489 176 176 PCUT_ASSERT_INT_EQUALS(-3, dec); 177 177 PCUT_ASSERT_STR_EQUALS("1100", buf); 178 179 d = extract_ieee_double(768.0); 180 ret = double_to_fixed_str(d, -1, 3, buf, size, &dec); 181 PCUT_ASSERT_INT_EQUALS(4, ret); 182 PCUT_ASSERT_INT_EQUALS(-3, dec); 183 PCUT_ASSERT_STR_EQUALS("768", buf); 178 184 } 179 185
Note:
See TracChangeset
for help on using the changeset viewer.