@@ -119,7 +119,6 @@ public func run_FloatingPointPrinting_Float80_description_small(_ N: Int) {
119
119
public func run_FloatingPointPrinting_Float_description_uniform( _ N: Int ) {
120
120
let count = 100_000
121
121
let step = UInt32 . max / UInt32( count)
122
- var s = " "
123
122
for _ in 0 ..< N {
124
123
for i in 0 ..< count {
125
124
let raw = UInt32 ( i) * step
@@ -133,7 +132,6 @@ public func run_FloatingPointPrinting_Float_description_uniform(_ N: Int) {
133
132
public func run_FloatingPointPrinting_Double_description_uniform( _ N: Int ) {
134
133
let count = 100_000
135
134
let step = UInt64 . max / UInt64( count)
136
- var s = " "
137
135
for _ in 0 ..< N {
138
136
for i in 0 ..< count {
139
137
let raw = UInt64 ( i) * step
@@ -151,7 +149,6 @@ public func run_FloatingPointPrinting_Float80_description_uniform(_ N: Int) {
151
149
#if arch(x86_64) || arch(i386)
152
150
let count = 100_000
153
151
let step = UInt64 . max / UInt64( count)
154
- var s = " "
155
152
for _ in 0 ..< N {
156
153
for i in 0 ..< count {
157
154
let fraction = UInt64 ( i) * step
@@ -172,30 +169,26 @@ public func run_FloatingPointPrinting_Float80_description_uniform(_ N: Int) {
172
169
public func run_FloatingPointPrinting_Float_interpolated( _ N: Int ) {
173
170
let count = 100_000
174
171
let step = UInt32 . max / UInt32( count)
175
- var s = " "
176
172
for _ in 0 ..< N {
177
173
for i in 0 ..< count {
178
174
let raw = UInt32 ( i) * step
179
175
let f = Float ( bitPattern: raw)
180
176
blackHole ( " and the actual result was \( f) " )
181
177
}
182
178
}
183
- CheckResults ( s. count > 1 )
184
179
}
185
180
186
181
@inline ( never)
187
182
public func run_FloatingPointPrinting_Double_interpolated( _ N: Int ) {
188
183
let count = 100_000
189
184
let step = UInt64 . max / UInt64( count)
190
- var s = " "
191
185
for _ in 0 ..< N {
192
186
for i in 0 ..< count {
193
187
let raw = UInt64 ( i) * step
194
188
let f = Double ( bitPattern: raw)
195
189
blackHole ( " and the actual result was \( f) " )
196
190
}
197
191
}
198
- CheckResults ( s. count > 1 )
199
192
}
200
193
201
194
@inline ( never)
@@ -206,7 +199,6 @@ public func run_FloatingPointPrinting_Float80_interpolated(_ N: Int) {
206
199
#if arch(x86_64) || arch(i386)
207
200
let count = 100_000
208
201
let step = UInt64 . max / UInt64( count)
209
- var s = " "
210
202
for _ in 0 ..< N {
211
203
for i in 0 ..< count {
212
204
let fraction = UInt64 ( i) * step
@@ -215,7 +207,6 @@ public func run_FloatingPointPrinting_Float80_interpolated(_ N: Int) {
215
207
blackHole ( " and the actual result was \( f) " )
216
208
}
217
209
}
218
- CheckResults ( s. count > 1 )
219
210
#endif // x86
220
211
#endif // Darwin/Linux
221
212
}
0 commit comments