Commit 613592e
Redid some changes on TreeFunctions.c
1. Fixed pow functions when it returns inf when the base is 0 and the exponential is negative.
2. Avoid log() and log10() function returning NaN or inf when it's 0.
3. Fixed pow_op, pow and invsqrt functions that intentionally returned NaN.
4. Removed sqr() cap. It's because of ns-eel2 adapts to 9 or 10 digits per value. Here is what it gives:
9999999 = 9999999
99999999 = 100000000
999999999 = 1000000000
9999999999 = 2147483648
10000000000 = 2147483648 (same gives it)1 parent 4665400 commit 613592e
1 file changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
855 | 855 | | |
856 | 856 | | |
857 | 857 | | |
858 | | - | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
859 | 861 | | |
860 | 862 | | |
861 | 863 | | |
| |||
989 | 991 | | |
990 | 992 | | |
991 | 993 | | |
992 | | - | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
993 | 997 | | |
994 | 998 | | |
995 | 999 | | |
| |||
1013 | 1017 | | |
1014 | 1018 | | |
1015 | 1019 | | |
1016 | | - | |
| 1020 | + | |
1017 | 1021 | | |
1018 | 1022 | | |
1019 | 1023 | | |
| |||
1031 | 1035 | | |
1032 | 1036 | | |
1033 | 1037 | | |
1034 | | - | |
| 1038 | + | |
1035 | 1039 | | |
1036 | 1040 | | |
1037 | 1041 | | |
| |||
1089 | 1093 | | |
1090 | 1094 | | |
1091 | 1095 | | |
1092 | | - | |
| 1096 | + | |
1093 | 1097 | | |
1094 | 1098 | | |
1095 | 1099 | | |
| |||
1205 | 1209 | | |
1206 | 1210 | | |
1207 | 1211 | | |
1208 | | - | |
| 1212 | + | |
1209 | 1213 | | |
0 commit comments