aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1fix
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2017-10-11 00:37:27 -0700
committerLev Walkin <vlm@lionet.info>2017-10-11 00:37:27 -0700
commitf11ebf8a5b2fe455db678fe239cb2d008ff523f4 (patch)
tree687f7d5a857513038b60ba7b8229dccbe1f5cc5b /libasn1fix
parent83170fc089d26ab168cff1f7a4ca7369879233a1 (diff)
corrected to the best known range (fixed after X.696 Corrigendum 1)
Diffstat (limited to 'libasn1fix')
-rw-r--r--libasn1fix/asn1fix_crange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libasn1fix/asn1fix_crange.c b/libasn1fix/asn1fix_crange.c
index 9761dca8..b983e498 100644
--- a/libasn1fix/asn1fix_crange.c
+++ b/libasn1fix/asn1fix_crange.c
@@ -933,7 +933,7 @@ asn1f_real_range_from_WCOMPS(const char *dbg_name,
&& base->left.type == ARE_VALUE && base->right.type == ARE_VALUE
&& base->left.value == 2 && base->right.value == 2
&& exponent->left.type == ARE_VALUE && exponent->right.type == ARE_VALUE
- && exponent->left.value >= -323 && exponent->right.value <= 292) {
+ && exponent->left.value >= -149 && exponent->right.value <= 104) {
range->narrowing = NARROW_FLOAT32;
} else /* X.696 #12.3 */
if(mantissa->left.type == ARE_VALUE && mantissa->right.type == ARE_VALUE