File tree Expand file tree Collapse file tree 1 file changed +24
-24
lines changed
Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Original file line number Diff line number Diff line change @@ -131,34 +131,34 @@ halfToFloat (unsigned short y)
131131// Main - prints the half-to-float lookup table
132132// ---------------------------------------------
133133
134- int
135- main ()
136- {
137- cout.precision (9 );
138- cout.setf (ios_base::hex, ios_base::basefield);
134+ // int
135+ // main ()
136+ // {
137+ // cout.precision (9);
138+ // cout.setf (ios_base::hex, ios_base::basefield);
139139
140- cout << " //\n "
141- " // This is an automatically generated file.\n "
142- " // Do not edit.\n "
143- " //\n\n " ;
140+ // cout << "//\n"
141+ // "// This is an automatically generated file.\n"
142+ // "// Do not edit.\n"
143+ // "//\n\n";
144144
145- cout << " {\n " ;
145+ // cout << "{\n ";
146146
147- const int iMax = (1 << 16 );
147+ // const int iMax = (1 << 16);
148148
149- for (int i = 0 ; i < iMax; i++)
150- {
151- cout << " {0x" << setfill (' 0' ) << setw (8 ) << halfToFloat (i) << " }, " ;
149+ // for (int i = 0; i < iMax; i++)
150+ // {
151+ // cout << "{0x" << setfill ('0') << setw (8) << halfToFloat (i) << "}, ";
152152
153- if (i % 4 == 3 )
154- {
155- cout << " \n " ;
153+ // if (i % 4 == 3)
154+ // {
155+ // cout << "\n";
156156
157- if (i < iMax - 1 )
158- cout << " " ;
159- }
160- }
157+ // if (i < iMax - 1)
158+ // cout << " ";
159+ // }
160+ // }
161161
162- cout << " };\n " ;
163- return 0 ;
164- }
162+ // cout << "};\n";
163+ // return 0;
164+ // }
You can’t perform that action at this time.
0 commit comments