| 921 | |
| 922 | #ifdef WITH_SOFTFLOAT |
| 923 | static bool iscfloat(TCHAR **c) |
| 924 | { |
| 925 | int cnt = 0; |
| 926 | for (;;) { |
| 927 | TCHAR nc = (*c)[cnt]; |
| 928 | if (!nc) { |
| 929 | break; |
| 930 | } |
| 931 | if (nc == ' ' || nc == '\t') { |
| 932 | break; |
| 933 | } |
| 934 | if (nc == '.') { |
| 935 | TCHAR nc2 = (*c)[cnt + 1]; |
| 936 | if (isdigit(nc2)) { |
| 937 | return true; |
| 938 | } |
| 939 | break; |
| 940 | } |
| 941 | if (nc != '-' && nc != '+' && !isdigit(nc)) { |
| 942 | break; |
| 943 | } |
| 944 | cnt++; |
| 945 | } |
| 946 | return false; |
| 947 | } |
| 948 | |
| 949 | static bool readfloatx(TCHAR **c, debugfloatx80 *valx80) |
| 950 | { |
no outgoing calls
no test coverage detected