On 6/2/21 4:31 AM, Alex Bennée wrote:
+scale = MIN(MAX(scale, -0x1), 0x1);
here but it does seem weird to have an arbitrary limit here
+p->cls = float_class_normal;
+p->exp = DECOMPOSED_BINARY_POINT - shift + scale;
where it's really a limit on fmt->exp_max.
Richard Henderson writes:
> Rename to parts$N_uint_to_float.
> Reimplement uint64_to_float128 with FloatParts128.
>
> Signed-off-by: Richard Henderson
> ---
> fpu/softfloat.c | 83 ---
> fpu/softfloat-parts.c.inc | 23 +++
> 2 files change
On 25.05.21 17:06, Richard Henderson wrote:
Rename to parts$N_uint_to_float.
Reimplement uint64_to_float128 with FloatParts128.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 83 ---
fpu/softfloat-parts.c.inc | 23 +++
2 files ch