flyingfish89 fa59db8cea Add Hexadecimal parsing for strtof
solve:
  almost the Hexadecimal string string->float
such as:
  code:float num;
       const char *s= "0x123p32lala";
       char *p;
       num=strtof(s,&p);
       printf("num is %f\n",num);
       printf("str is %s\n",p);
  output:num is 1249835483136.000000
         str is lala

but if the input number is much big;
like:
  code:const char *s2= "0x999999p100";
       num=strtof(s2,&p);
       printf("num is %f\n",num);
       printf("str is %s\n",p);
  corrent : num is 12760587998944832242938906880669384704.000000
  real:     num is 12760587998944800000000000000000000000.000000
it didn't have enough precision
2022-11-30 19:03:07 +08:00
..
2021-07-14 15:09:58 -03:00
2021-07-14 15:09:58 -03:00
2021-04-02 11:12:25 -05:00
2022-07-27 00:36:49 +08:00
2021-04-02 11:12:25 -05:00
2021-07-14 15:09:58 -03:00
2022-07-27 00:36:49 +08:00