Thomas PABST
5 vuotta sitten
committed by
GitHub
vanhempi
commit
b6ddd09f3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa
1 lisäystä ja
1 poistoa
-
src/libmath.c
|
|
@@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/> |
|
|
|
static double inv(double a) |
|
|
|
{ |
|
|
|
double v; |
|
|
|
if (a==0.0) v=HUGE; |
|
|
|
if (a==0.0) v=HUGE_VAL; |
|
|
|
else v = (double)1.0/a; |
|
|
|
return v; |
|
|
|
} |
|
|
|