Re:Parsing integers quickly with AVX-512
by Lt_Riza_Hawkeye on Monday September 25, 2023 @02:00AM
(#37640099)
It bounds checks just fine, as long as you pass it a null-terminated string. It just returns 0 on error, so there's no way to know if the string was for example, larger than would fit in an int, or even just totally invalid, or if the user actually entered 0.
[ Parent
| on HN ]
There are no comments on this comment yet.