aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Brunie <82109999+nibrunieAtSi5@users.noreply.github.com>2023-09-30 20:57:08 -0700
committerGitHub <noreply@github.com>2023-09-30 20:57:08 -0700
commitb2341032da62a2d1ed21cc07c2ce7afc3721598f (patch)
tree2058009b864aa466bbaa5a6ab33b92a5a03483d0
parentb1bbccf04d6b350fd5019f9e23ad9c8ae82c9b03 (diff)
downloadberkeley-softfloat-3-b2341032da62a2d1ed21cc07c2ce7afc3721598f.zip
berkeley-softfloat-3-b2341032da62a2d1ed21cc07c2ce7afc3721598f.tar.gz
berkeley-softfloat-3-b2341032da62a2d1ed21cc07c2ce7afc3721598f.tar.bz2
review feedback: 16-bit floating-point -> BF16
-rw-r--r--source/8086-SSE/s_bf16UIToCommonNaN.c2
-rw-r--r--source/8086-SSE/s_commonNaNToBF16UI.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/8086-SSE/s_bf16UIToCommonNaN.c b/source/8086-SSE/s_bf16UIToCommonNaN.c
index b27b804..c1c774d 100644
--- a/source/8086-SSE/s_bf16UIToCommonNaN.c
+++ b/source/8086-SSE/s_bf16UIToCommonNaN.c
@@ -40,7 +40,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "softfloat.h"
/*----------------------------------------------------------------------------
-| Assuming `uiA' has the bit pattern of a 32-bit floating-point NaN, converts
+| Assuming `uiA' has the bit pattern of a BF16 NaN, converts
| this NaN to the common NaN form, and stores the resulting common NaN at the
| location pointed to by `zPtr'. If the NaN is a signaling NaN, the invalid
| exception is raised.
diff --git a/source/8086-SSE/s_commonNaNToBF16UI.c b/source/8086-SSE/s_commonNaNToBF16UI.c
index 8cc5a61..d81cf51 100644
--- a/source/8086-SSE/s_commonNaNToBF16UI.c
+++ b/source/8086-SSE/s_commonNaNToBF16UI.c
@@ -39,8 +39,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "specialize.h"
/*----------------------------------------------------------------------------
-| Converts the common NaN pointed to by `aPtr' into a 16-bit floating-point
-| NaN, and returns the bit pattern of this value as an unsigned integer.
+| Converts the common NaN pointed to by `aPtr' into a BF16 NaN, and
+| returns the bit pattern of this value as an unsigned integer.
*----------------------------------------------------------------------------*/
uint_fast16_t softfloat_commonNaNToBF16UI( const struct commonNaN *aPtr )
{