mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-06-28 15:39:02 +08:00
Debian patch 056-libmdb-data
This commit is contained in:
parent
b9983c8aad
commit
09a82013a3
@ -792,7 +792,7 @@ int floor_log10(double f, int is_single)
|
|||||||
if (f < 0.0)
|
if (f < 0.0)
|
||||||
f = -f;
|
f = -f;
|
||||||
|
|
||||||
if ((f == 0.0) || (f == 1.0)) {
|
if ((f == 0.0) || (f == 1.0) || isinf(f)) {
|
||||||
return 0;
|
return 0;
|
||||||
} else if (f < 1.0) {
|
} else if (f < 1.0) {
|
||||||
if (is_single) {
|
if (is_single) {
|
||||||
|
Loading…
Reference in New Issue
Block a user