This commit is contained in:
Derek Bailey
2022-08-26 14:35:21 -07:00
committed by GitHub
parent e2eb5ee670
commit b86387442e
13 changed files with 42 additions and 42 deletions

View File

@@ -255,7 +255,7 @@ inline void strtoval_impl(double *val, const char *str, char **endptr) {
}
// UBSAN: double to float is safe if numeric_limits<float>::is_iec559 is true.
__supress_ubsan__("float-cast-overflow")
__suppress_ubsan__("float-cast-overflow")
inline void strtoval_impl(float *val, const char *str, char **endptr) {
*val = __strtof_impl(str, endptr);
}