aboutsummaryrefslogtreecommitdiff
path: root/source/include/softfloat.h
diff options
context:
space:
mode:
authorJohn Hauser <jhauser@eecs.berkeley.edu>2017-02-10 12:35:21 -0800
committerJohn Hauser <jhauser@eecs.berkeley.edu>2017-02-10 12:35:21 -0800
commit9d731d45e86ae28cf13b0094979577061e0e811c (patch)
tree0fb71733a01f5b8975ae1bf77b09a1c9edaac407 /source/include/softfloat.h
parentcb5087cd7403acf31ac24ac4be8e019a51904895 (diff)
downloadberkeley-softfloat-3-9d731d45e86ae28cf13b0094979577061e0e811c.zip
berkeley-softfloat-3-9d731d45e86ae28cf13b0094979577061e0e811c.tar.gz
berkeley-softfloat-3-9d731d45e86ae28cf13b0094979577061e0e811c.tar.bz2
Release 3c. See "doc/SoftFloat-history.html".
Diffstat (limited to 'source/include/softfloat.h')
-rw-r--r--source/include/softfloat.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/source/include/softfloat.h b/source/include/softfloat.h
index 8f82288..da6034e 100644
--- a/source/include/softfloat.h
+++ b/source/include/softfloat.h
@@ -2,10 +2,10 @@
/*============================================================================
This C header file is part of the SoftFloat IEEE Floating-Point Arithmetic
-Package, Release 3b, by John R. Hauser.
+Package, Release 3c, by John R. Hauser.
-Copyright 2011, 2012, 2013, 2014, 2015, 2016 The Regents of the University of
-California. All rights reserved.
+Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017 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:
@@ -64,7 +64,8 @@ enum {
};
/*----------------------------------------------------------------------------
-| Software floating-point rounding mode.
+| Software floating-point rounding mode. (Mode "odd" is supported only if
+| SoftFloat is compiled with macro 'SOFTFLOAT_ROUND_ODD' defined.)
*----------------------------------------------------------------------------*/
extern THREAD_LOCAL uint_fast8_t softfloat_roundingMode;
enum {
@@ -72,7 +73,8 @@ enum {
softfloat_round_minMag = 1,
softfloat_round_min = 2,
softfloat_round_max = 3,
- softfloat_round_near_maxMag = 4
+ softfloat_round_near_maxMag = 4,
+ softfloat_round_odd = 5
};
/*----------------------------------------------------------------------------