• serg@serg.mylan's avatar
    my_strtod fixes: · ded8fa56
    serg@serg.mylan authored
    sigsegv protection (exp overflow)
    don't return inf!
    use errno=EOVERFLOW to signal an overflow (as my_strntod uses errno anyway)
    if errno will be too slow, my_strtod can be changed to return overflow status in a parameter (like my_strntod does)
    ded8fa56
strtod.c 2.54 KB