On 10/13/2017 09:24 AM, Alex Bennée wrote:
> +int float16_eq(float16 a, float16 b, float_status *status)
> +{
> +uint32_t av, bv;
> +a = float16_squash_input_denormal(a, status);
> +b = float16_squash_input_denormal(b, status);
> +
> +if (( ( extractFloat16Exp( a ) == 0x1F ) &&
This is mostly a mechanical conversion of the float32 variants of the
same name with some judicious search/replace and some constants
changed.
Signed-off-by: Alex Bennée
---
fpu/softfloat.c | 216
include/fpu/softfloat.h | 8 ++
2 files