diff options
author | Michael Forney <mforney@mforney.org> | 2023-08-25 15:04:47 -0700 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2023-08-26 15:16:45 +0200 |
commit | d6c9669c3c83ce9f570a9c3528110b666aba88f2 (patch) | |
tree | 53ff27d39d2929d1d52b307697f1d89bbabf61f4 /minic/test/euler9.c | |
parent | d41d91ddd851798349f37d9bb75ed2718bbe28f5 (diff) | |
download | roux-d6c9669c3c83ce9f570a9c3528110b666aba88f2.tar.gz |
Fix conversion from float/double to unsigned int
signed int can't represent all the values of unsigned int, so we need to do the conversion to signed long, and use the lower 32 bits as the result.
Diffstat (limited to 'minic/test/euler9.c')
0 files changed, 0 insertions, 0 deletions