aboutsummaryrefslogtreecommitdiff
path: root/softfloat/s_shiftRightJam64.c
diff options
context:
space:
mode:
Diffstat (limited to 'softfloat/s_shiftRightJam64.c')
-rw-r--r--softfloat/s_shiftRightJam64.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/softfloat/s_shiftRightJam64.c b/softfloat/s_shiftRightJam64.c
index 876640d..34edd7b 100644
--- a/softfloat/s_shiftRightJam64.c
+++ b/softfloat/s_shiftRightJam64.c
@@ -2,9 +2,9 @@
/*============================================================================
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, 2015 The Regents of the University of
+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
@@ -39,12 +39,11 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef softfloat_shiftRightJam64
-uint64_t softfloat_shiftRightJam64( uint64_t a, uint_fast32_t count )
+uint64_t softfloat_shiftRightJam64( uint64_t a, uint_fast32_t dist )
{
return
- (count < 63) ? a>>count | ((uint64_t) (a<<(-count & 63)) != 0)
- : (a != 0);
+ (dist < 63) ? a>>dist | ((uint64_t) (a<<(-dist & 63)) != 0) : (a != 0);
}