blob: a34adcf6776606ec8c03d07671f9d67a5fbee9d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// See LICENSE.SoftFloat for license details.
#include <stdint.h>
#include "platform.h"
#include "specialize.h"
/*----------------------------------------------------------------------------
| Returns the result of converting the canonical NaN `a' to the double-
| precision floating-point format.
*----------------------------------------------------------------------------*/
uint_fast64_t softfloat_commonNaNToF64UI( struct commonNaN a )
{
return
(uint_fast64_t) a.sign<<63 | UINT64_C( 0x7FFFFFFFFFFFFFFF );
}
|