Also, you've made a typo here.  s/strtold/strtod/