temporary undoing of renaming
[riscv-isa-sim.git] / softfloat_riscv / s_commonNaNToF64UI.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 double-
8 | precision floating-point format.
9 *----------------------------------------------------------------------------*/
10
11 uint_fast64_t softfloat_commonNaNToF64UI( struct commonNaN a )
12 {
13
14 return
15 (uint_fast64_t) a.sign<<63 | UINT64_C( 0x7FFFFFFFFFFFFFFF );
16
17 }
18