[libc] Fix strtod hex exponent overflow bug
authorMichael Jones <michaelrj@google.com>
Mon, 17 Apr 2023 17:30:28 +0000 (10:30 -0700)
committerMichael Jones <michaelrj@google.com>
Wed, 19 Apr 2023 23:32:20 +0000 (16:32 -0700)
commitb5f0a87686b299e9fc6f683be258101b54383d54
treecece97675c8552e1ecffcea20ab5e6a058d7bdf5
parent9a579d62e855bb013858d433ddd089a43245bce2
[libc] Fix strtod hex exponent overflow bug

Same issue as was fixed in commit 3d95323, but for hexadecimal floats.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D148545
libc/src/__support/str_to_float.h
libc/test/src/stdlib/strtod_test.cpp