aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJohn Hauser <jhauser@eecs.berkeley.edu>2018-07-26 13:52:23 -0700
committerJohn Hauser <jhauser@eecs.berkeley.edu>2018-07-26 13:52:23 -0700
commitb64af41c3276f97f0e181920400ee056b9c88037 (patch)
tree5f46f374bcf9aef50442ba5fd25f3b5bcdf963c4 /source
parentf74b1e48110ac3a27dd49b787d164e55e42d81d1 (diff)
downloadberkeley-softfloat-3-b64af41c3276f97f0e181920400ee056b9c88037.zip
berkeley-softfloat-3-b64af41c3276f97f0e181920400ee056b9c88037.tar.gz
berkeley-softfloat-3-b64af41c3276f97f0e181920400ee056b9c88037.tar.bz2
Fix typo in function 'softfloat_propagateNaNF128M' for RISC-V.
Diffstat (limited to 'source')
-rw-r--r--source/RISCV/s_propagateNaNF128M.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/RISCV/s_propagateNaNF128M.c b/source/RISCV/s_propagateNaNF128M.c
index 1ad2502..df76ab2 100644
--- a/source/RISCV/s_propagateNaNF128M.c
+++ b/source/RISCV/s_propagateNaNF128M.c
@@ -4,7 +4,7 @@
This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic
Package, Release 3e, by John R. Hauser.
-Copyright 2011, 2012, 2013, 2014, 2015 The Regents of the University of
+Copyright 2011, 2012, 2013, 2014, 2015, 2018 The Regents of the University of
California. All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -42,10 +42,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/*----------------------------------------------------------------------------
| Assuming at least one of the two 128-bit floating-point values pointed to by
-| `aWPtr' and `bWPtr' is a NaN, stores the combined NaN result at the location
-| pointed to by `zWPtr'. If either original floating-point value is a
-| signaling NaN, the invalid exception is raised. Each of `aWPtr', `bWPtr',
-| and `zWPtr' points to an array of four 32-bit elements that concatenate in
+| 'aWPtr' and 'bWPtr' is a NaN, stores the combined NaN result at the location
+| pointed to by 'zWPtr'. If either original floating-point value is a
+| signaling NaN, the invalid exception is raised. Each of 'aWPtr', 'bWPtr',
+| and 'zWPtr' points to an array of four 32-bit elements that concatenate in
| the platform's normal endian order to form a 128-bit floating-point value.
*----------------------------------------------------------------------------*/
void
@@ -54,7 +54,7 @@ void
{
if (
- f128M_isSignalingNaN( (const float128_t *) aWPtr );
+ f128M_isSignalingNaN( (const float128_t *) aWPtr )
|| (bWPtr && f128M_isSignalingNaN( (const float128_t *) bWPtr ))
) {
softfloat_raiseFlags( softfloat_flag_invalid );