Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/ub.tex
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@
#include <limits>

int main() {
// Assuming 32-bit int, 32-bit float and 64-bit double.
// Assuming 32-bit \tcode{int}, 32-bit \tcode{float} and 64-bit \tcode{double}.
double d2 = std::numeric_limits<double>::max();
float f = d2; // undefined behavior on systems where the range of representable values
// of \tcode{float} is \tcode{[-max,+max]}; on systems where the range of representable
Expand Down
Loading