small coding style update
This commit is contained in:
parent
f5717a9340
commit
35001a23ae
@ -57,10 +57,9 @@ struct uint128
|
||||
struct softfloat_status_t *status
|
||||
)
|
||||
{
|
||||
bool isSigNaNA;
|
||||
struct uint128 uiZ;
|
||||
|
||||
isSigNaNA = softfloat_isSigNaNF128UI(uiA64, uiA0);
|
||||
bool isSigNaNA = softfloat_isSigNaNF128UI(uiA64, uiA0);
|
||||
if (isSigNaNA || softfloat_isSigNaNF128UI(uiB64, uiB0)) {
|
||||
softfloat_raiseFlags(status, softfloat_flag_invalid);
|
||||
if (isSigNaNA) goto returnNonsigA;
|
||||
|
@ -47,9 +47,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*----------------------------------------------------------------------------*/
|
||||
uint16_t softfloat_propagateNaNF16UI(uint16_t uiA, uint16_t uiB, struct softfloat_status_t *status)
|
||||
{
|
||||
bool isSigNaNA;
|
||||
|
||||
isSigNaNA = softfloat_isSigNaNF16UI(uiA);
|
||||
bool isSigNaNA = softfloat_isSigNaNF16UI(uiA);
|
||||
if (isSigNaNA || softfloat_isSigNaNF16UI(uiB)) {
|
||||
softfloat_raiseFlags(status, softfloat_flag_invalid);
|
||||
if (isSigNaNA) return uiA | 0x0200;
|
||||
|
@ -47,9 +47,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*----------------------------------------------------------------------------*/
|
||||
uint32_t softfloat_propagateNaNF32UI(uint32_t uiA, uint32_t uiB, struct softfloat_status_t *status)
|
||||
{
|
||||
bool isSigNaNA;
|
||||
|
||||
isSigNaNA = softfloat_isSigNaNF32UI(uiA);
|
||||
bool isSigNaNA = softfloat_isSigNaNF32UI(uiA);
|
||||
if (isSigNaNA || softfloat_isSigNaNF32UI(uiB)) {
|
||||
softfloat_raiseFlags(status, softfloat_flag_invalid);
|
||||
if (isSigNaNA) return uiA | 0x00400000;
|
||||
|
@ -47,9 +47,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*----------------------------------------------------------------------------*/
|
||||
uint64_t softfloat_propagateNaNF64UI(uint64_t uiA, uint64_t uiB, struct softfloat_status_t *status)
|
||||
{
|
||||
bool isSigNaNA;
|
||||
|
||||
isSigNaNA = softfloat_isSigNaNF64UI(uiA);
|
||||
bool isSigNaNA = softfloat_isSigNaNF64UI(uiA);
|
||||
if (isSigNaNA || softfloat_isSigNaNF64UI(uiB)) {
|
||||
softfloat_raiseFlags(status, softfloat_flag_invalid);
|
||||
if (isSigNaNA) return uiA | UINT64_C(0x0008000000000000);
|
||||
|
Loading…
Reference in New Issue
Block a user