Fix NaN propagation for fcvt
[riscv-isa-sim.git] / softfloat / s_commonNaNToF32UI.c
1
2 #include <stdint.h>
3 #include "platform.h"
4 #include "specialize.h"
5
6 /*----------------------------------------------------------------------------
7 | Returns the result of converting the canonical NaN `a' to the single-
8 | precision floating-point format.
9 *----------------------------------------------------------------------------*/
10
11 uint_fast32_t softfloat_commonNaNToF32UI( struct commonNaN a )
12 {
13
14 return defaultNaNF32UI;
15
16 }
17