diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2026-03-08 17:29:05 +0100 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2026-03-08 17:29:05 +0100 |
| commit | 33a5320dda21ae791eee4763c64f1285ae04217d (patch) | |
| tree | 5c15bc695be820b393a8496c5807ecafbbdeb89b /lib/frexp.c | |
| parent | b2ac982cc8b5290699eb5f52fb043d3d15e2624b (diff) | |
| parent | ff33e1d252f46bec1a33e28700da3282fc24047a (diff) | |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'lib/frexp.c')
| -rw-r--r-- | lib/frexp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/frexp.c b/lib/frexp.c index 18b95f6c..4679de86 100644 --- a/lib/frexp.c +++ b/lib/frexp.c @@ -1,5 +1,5 @@ /* Split a double into fraction and mantissa. - Copyright (C) 2007-2025 Free Software Foundation, Inc. + Copyright (C) 2007-2026 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -57,8 +57,6 @@ DOUBLE FUNC (DOUBLE x, int *expptr) { - int sign; - int exponent; DECL_ROUNDING /* Test for NaN, infinity, and zero. */ @@ -68,7 +66,7 @@ FUNC (DOUBLE x, int *expptr) return x; } - sign = 0; + int sign = 0; if (x < 0) { x = - x; @@ -77,6 +75,8 @@ FUNC (DOUBLE x, int *expptr) BEGIN_ROUNDING (); + int exponent; + { /* Since the exponent is an 'int', it fits in 64 bits. Therefore the loops are executed no more than 64 times. */ |
