1 /* Generated by Nim Compiler v1.6.2 */
2 #define NIM_INTBITS 64
3 
4 #include "nimbase.h"
5 #include <string.h>
6 #undef LANGUAGE_C
7 #undef MIPSEB
8 #undef MIPSEL
9 #undef PPC
10 #undef R3000
11 #undef R4000
12 #undef i386
13 #undef linux
14 #undef mips
15 #undef near
16 #undef far
17 #undef powerpc
18 #undef unix
19 #define nimfr_(x, y)
20 #define nimln_(x, y)
21 typedef struct tyObject_Single__d6NidTbsj2ZAh9ao1GJW9aXQ tyObject_Single__d6NidTbsj2ZAh9ao1GJW9aXQ;
22 struct tyObject_Single__d6NidTbsj2ZAh9ao1GJW9aXQ {
23 NU32 bits;
24 };
25 typedef NU64 tyArray__ocdlWeLAycDNOOtB9cadACA[77];
26 static N_INLINE(void, nimZeroMem)(void* p, NI size);
27 static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size);
28 N_LIB_PRIVATE NIM_CONST tyArray__ocdlWeLAycDNOOtB9cadACA g__systemZschubfach_78 = {9353610478917778677ULL,
29 11692013098647223346ULL,
30 14615016373309029183ULL,
31 18268770466636286478ULL,
32 11417981541647679049ULL,
33 14272476927059598811ULL,
34 17840596158824498514ULL,
35 11150372599265311571ULL,
36 13937965749081639464ULL,
37 17422457186352049330ULL,
38 10889035741470030831ULL,
39 13611294676837538539ULL,
40 17014118346046923174ULL,
41 10633823966279326984ULL,
42 13292279957849158730ULL,
43 16615349947311448412ULL,
44 10384593717069655258ULL,
45 12980742146337069072ULL,
46 16225927682921336340ULL,
47 10141204801825835212ULL,
48 12676506002282294015ULL,
49 15845632502852867519ULL,
50 9903520314283042200ULL,
51 12379400392853802749ULL,
52 15474250491067253437ULL,
53 9671406556917033398ULL,
54 12089258196146291748ULL,
55 15111572745182864684ULL,
56 9444732965739290428ULL,
57 11805916207174113035ULL,
58 14757395258967641293ULL,
59 9223372036854775808ULL,
60 11529215046068469760ULL,
61 14411518807585587200ULL,
62 18014398509481984000ULL,
63 11258999068426240000ULL,
64 14073748835532800000ULL,
65 17592186044416000000ULL,
66 10995116277760000000ULL,
67 13743895347200000000ULL,
68 17179869184000000000ULL,
69 10737418240000000000ULL,
70 13421772800000000000ULL,
71 16777216000000000000ULL,
72 10485760000000000000ULL,
73 13107200000000000000ULL,
74 16384000000000000000ULL,
75 10240000000000000000ULL,
76 12800000000000000000ULL,
77 16000000000000000000ULL,
78 10000000000000000000ULL,
79 12500000000000000000ULL,
80 15625000000000000000ULL,
81 9765625000000000000ULL,
82 12207031250000000000ULL,
83 15258789062500000000ULL,
84 9536743164062500000ULL,
85 11920928955078125000ULL,
86 14901161193847656250ULL,
87 9313225746154785157ULL,
88 11641532182693481446ULL,
89 14551915228366851807ULL,
90 18189894035458564759ULL,
91 11368683772161602974ULL,
92 14210854715202003718ULL,
93 17763568394002504647ULL,
94 11102230246251565405ULL,
95 13877787807814456756ULL,
96 17347234759768070945ULL,
97 10842021724855044341ULL,
98 13552527156068805426ULL,
99 16940658945086006782ULL,
100 10587911840678754239ULL,
101 13234889800848442798ULL,
102 16543612251060553498ULL,
103 10339757656912845936ULL,
104 12924697071141057420ULL}
105 ;
N_NIMCALL(NU32,physicalSignificand__systemZschubfach_34)106 N_LIB_PRIVATE N_NIMCALL(NU32, physicalSignificand__systemZschubfach_34)(tyObject_Single__d6NidTbsj2ZAh9ao1GJW9aXQ this_0) {
107 	NU32 result;
108 {	result = (NU32)0;
109 	result = (NU32)(this_0.bits & ((NU32) 8388607));
110 	goto BeforeRet_;
111 	}BeforeRet_: ;
112 	return result;
113 }
N_INLINE(void,nimSetMem__systemZmemory_7)114 static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size) {
115 	void* T1_;
116 	T1_ = (void*)0;
117 	T1_ = memset(a, v, ((size_t) (size)));
118 }
N_INLINE(void,nimZeroMem)119 static N_INLINE(void, nimZeroMem)(void* p, NI size) {
120 	nimSetMem__systemZmemory_7(p, ((int) 0), size);
121 }
N_NIMCALL(tyObject_Single__d6NidTbsj2ZAh9ao1GJW9aXQ,constructSingle__systemZschubfach_31)122 N_LIB_PRIVATE N_NIMCALL(tyObject_Single__d6NidTbsj2ZAh9ao1GJW9aXQ, constructSingle__systemZschubfach_31)(NF32 value) {
123 	tyObject_Single__d6NidTbsj2ZAh9ao1GJW9aXQ result;
124 	union { NF32 source; NU32 dest; } LOC1;
125 	nimZeroMem((void*)(&result), sizeof(tyObject_Single__d6NidTbsj2ZAh9ao1GJW9aXQ));
126 	LOC1.source = value;
127 	result.bits = LOC1.dest;
128 	return result;
129 }
N_NIMCALL(NU32,physicalExponent__systemZschubfach_37)130 N_LIB_PRIVATE N_NIMCALL(NU32, physicalExponent__systemZschubfach_37)(tyObject_Single__d6NidTbsj2ZAh9ao1GJW9aXQ this_0) {
131 	NU32 result;
132 {	result = (NU32)0;
133 	result = (NU32)((NU32)((NU32)(this_0.bits & ((NU32) 2139095040))) >> (NU32)(((NI32) 23)));
134 	goto BeforeRet_;
135 	}BeforeRet_: ;
136 	return result;
137 }
N_NIMCALL(NI,signBit__systemZschubfach_56)138 N_LIB_PRIVATE N_NIMCALL(NI, signBit__systemZschubfach_56)(tyObject_Single__d6NidTbsj2ZAh9ao1GJW9aXQ this_0) {
139 	NI result;
140 {	result = (NI)0;
141 	result = ((NI) (!(((NU32)(this_0.bits & ((NU32) IL64(2147483648))) == ((NU32) 0)))));
142 	goto BeforeRet_;
143 	}BeforeRet_: ;
144 	return result;
145 }
146