aboutsummaryrefslogtreecommitdiff
path: root/softfloat/s_normSubnormalF32Sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'softfloat/s_normSubnormalF32Sig.c')
-rw-r--r--softfloat/s_normSubnormalF32Sig.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/softfloat/s_normSubnormalF32Sig.c b/softfloat/s_normSubnormalF32Sig.c
index 3948eb7..e3e8ce4 100644
--- a/softfloat/s_normSubnormalF32Sig.c
+++ b/softfloat/s_normSubnormalF32Sig.c
@@ -2,10 +2,10 @@
/*============================================================================
This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic
-Package, Release 3a, by John R. Hauser.
+Package, Release 3d, by John R. Hauser.
-Copyright 2011, 2012, 2013, 2014 The Regents of the University of California.
-All rights reserved.
+Copyright 2011, 2012, 2013, 2014, 2015, 2016 The Regents of the University of
+California. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -40,12 +40,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
struct exp16_sig32 softfloat_normSubnormalF32Sig( uint_fast32_t sig )
{
- int_fast8_t shiftCount;
+ int_fast8_t shiftDist;
struct exp16_sig32 z;
- shiftCount = softfloat_countLeadingZeros32( sig ) - 8;
- z.exp = 1 - shiftCount;
- z.sig = sig<<shiftCount;
+ shiftDist = softfloat_countLeadingZeros32( sig ) - 8;
+ z.exp = 1 - shiftDist;
+ z.sig = sig<<shiftDist;
return z;
}