softfloat-native: fix float*_scalbn() functions
float*_scalbn() should be able to take a status parameter. Fix that. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
326b9e98a3
commit
d6882cf01f
@ -283,7 +283,7 @@ INLINE float32 float32_is_zero(float32 a)
|
|||||||
return fpclassify(a) == FP_ZERO;
|
return fpclassify(a) == FP_ZERO;
|
||||||
}
|
}
|
||||||
|
|
||||||
INLINE float32 float32_scalbn(float32 a, int n)
|
INLINE float32 float32_scalbn(float32 a, int n STATUS_PARAM)
|
||||||
{
|
{
|
||||||
return scalbnf(a, n);
|
return scalbnf(a, n);
|
||||||
}
|
}
|
||||||
@ -404,7 +404,7 @@ INLINE float64 float64_is_zero(float64 a)
|
|||||||
return fpclassify(a) == FP_ZERO;
|
return fpclassify(a) == FP_ZERO;
|
||||||
}
|
}
|
||||||
|
|
||||||
INLINE float64 float64_scalbn(float64 a, int n)
|
INLINE float64 float64_scalbn(float64 a, int n STATUS_PARAM)
|
||||||
{
|
{
|
||||||
return scalbn(a, n);
|
return scalbn(a, n);
|
||||||
}
|
}
|
||||||
@ -520,7 +520,7 @@ INLINE floatx80 floatx80_is_zero(floatx80 a)
|
|||||||
return fpclassify(a) == FP_ZERO;
|
return fpclassify(a) == FP_ZERO;
|
||||||
}
|
}
|
||||||
|
|
||||||
INLINE floatx80 floatx80_scalbn(floatx80 a, int n)
|
INLINE floatx80 floatx80_scalbn(floatx80 a, int n STATUS_PARAM)
|
||||||
{
|
{
|
||||||
return scalbnl(a, n);
|
return scalbnl(a, n);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user