@@ -141,6 +141,7 @@ add_fp_unittest(
141
141
TruncTest.h
142
142
DEPENDS
143
143
libc.src.math.trunc
144
+ libc.src.__support.CPP.algorithm
144
145
libc.src.__support.FPUtil.fp_bits
145
146
)
146
147
@@ -155,6 +156,7 @@ add_fp_unittest(
155
156
TruncTest.h
156
157
DEPENDS
157
158
libc.src.math.truncf
159
+ libc.src.__support.CPP.algorithm
158
160
libc.src.__support.FPUtil.fp_bits
159
161
)
160
162
@@ -169,6 +171,22 @@ add_fp_unittest(
169
171
TruncTest.h
170
172
DEPENDS
171
173
libc.src.math.truncl
174
+ libc.src.__support.CPP.algorithm
175
+ libc.src.__support.FPUtil.fp_bits
176
+ )
177
+
178
+ add_fp_unittest(
179
+ truncf16_test
180
+ NEED_MPFR
181
+ SUITE
182
+ libc-math-unittests
183
+ SRCS
184
+ truncf16_test.cpp
185
+ HDRS
186
+ TruncTest.h
187
+ DEPENDS
188
+ libc.src.math.truncf16
189
+ libc.src.__support.CPP.algorithm
172
190
libc.src.__support.FPUtil.fp_bits
173
191
)
174
192
@@ -183,6 +201,7 @@ add_fp_unittest(
183
201
CeilTest.h
184
202
DEPENDS
185
203
libc.src.math.ceil
204
+ libc.src.__support.CPP.algorithm
186
205
libc.src.__support.FPUtil.fp_bits
187
206
)
188
207
@@ -197,6 +216,7 @@ add_fp_unittest(
197
216
CeilTest.h
198
217
DEPENDS
199
218
libc.src.math.ceilf
219
+ libc.src.__support.CPP.algorithm
200
220
libc.src.__support.FPUtil.fp_bits
201
221
)
202
222
@@ -211,6 +231,22 @@ add_fp_unittest(
211
231
CeilTest.h
212
232
DEPENDS
213
233
libc.src.math.ceill
234
+ libc.src.__support.CPP.algorithm
235
+ libc.src.__support.FPUtil.fp_bits
236
+ )
237
+
238
+ add_fp_unittest(
239
+ ceilf16_test
240
+ NEED_MPFR
241
+ SUITE
242
+ libc-math-unittests
243
+ SRCS
244
+ ceilf16_test.cpp
245
+ HDRS
246
+ CeilTest.h
247
+ DEPENDS
248
+ libc.src.math.ceilf16
249
+ libc.src.__support.CPP.algorithm
214
250
libc.src.__support.FPUtil.fp_bits
215
251
)
216
252
@@ -225,6 +261,7 @@ add_fp_unittest(
225
261
FloorTest.h
226
262
DEPENDS
227
263
libc.src.math.floor
264
+ libc.src.__support.CPP.algorithm
228
265
libc.src.__support.FPUtil.fp_bits
229
266
)
230
267
@@ -239,6 +276,7 @@ add_fp_unittest(
239
276
FloorTest.h
240
277
DEPENDS
241
278
libc.src.math.floorf
279
+ libc.src.__support.CPP.algorithm
242
280
libc.src.__support.FPUtil.fp_bits
243
281
)
244
282
@@ -253,6 +291,22 @@ add_fp_unittest(
253
291
FloorTest.h
254
292
DEPENDS
255
293
libc.src.math.floorl
294
+ libc.src.__support.CPP.algorithm
295
+ libc.src.__support.FPUtil.fp_bits
296
+ )
297
+
298
+ add_fp_unittest(
299
+ floorf16_test
300
+ NEED_MPFR
301
+ SUITE
302
+ libc-math-unittests
303
+ SRCS
304
+ floorf16_test.cpp
305
+ HDRS
306
+ FloorTest.h
307
+ DEPENDS
308
+ libc.src.math.floorf16
309
+ libc.src.__support.CPP.algorithm
256
310
libc.src.__support.FPUtil.fp_bits
257
311
)
258
312
@@ -267,6 +321,7 @@ add_fp_unittest(
267
321
RoundTest.h
268
322
DEPENDS
269
323
libc.src.math.round
324
+ libc.src.__support.CPP.algorithm
270
325
libc.src.__support.FPUtil.fp_bits
271
326
)
272
327
@@ -281,6 +336,7 @@ add_fp_unittest(
281
336
RoundTest.h
282
337
DEPENDS
283
338
libc.src.math.roundf
339
+ libc.src.__support.CPP.algorithm
284
340
libc.src.__support.FPUtil.fp_bits
285
341
)
286
342
@@ -295,6 +351,22 @@ add_fp_unittest(
295
351
RoundTest.h
296
352
DEPENDS
297
353
libc.src.math.roundl
354
+ libc.src.__support.CPP.algorithm
355
+ libc.src.__support.FPUtil.fp_bits
356
+ )
357
+
358
+ add_fp_unittest(
359
+ roundf16_test
360
+ NEED_MPFR
361
+ SUITE
362
+ libc-math-unittests
363
+ SRCS
364
+ roundf16_test.cpp
365
+ HDRS
366
+ RoundTest.h
367
+ DEPENDS
368
+ libc.src.math.roundf16
369
+ libc.src.__support.CPP.algorithm
298
370
libc.src.__support.FPUtil.fp_bits
299
371
)
300
372
@@ -309,6 +381,7 @@ add_fp_unittest(
309
381
RoundEvenTest.h
310
382
DEPENDS
311
383
libc.src.math.roundeven
384
+ libc.src.__support.CPP.algorithm
312
385
libc.src.__support.FPUtil.fp_bits
313
386
)
314
387
@@ -323,6 +396,7 @@ add_fp_unittest(
323
396
RoundEvenTest.h
324
397
DEPENDS
325
398
libc.src.math.roundevenf
399
+ libc.src.__support.CPP.algorithm
326
400
libc.src.__support.FPUtil.fp_bits
327
401
)
328
402
@@ -337,6 +411,22 @@ add_fp_unittest(
337
411
RoundEvenTest.h
338
412
DEPENDS
339
413
libc.src.math.roundevenl
414
+ libc.src.__support.CPP.algorithm
415
+ libc.src.__support.FPUtil.fp_bits
416
+ )
417
+
418
+ add_fp_unittest(
419
+ roundevenf16_test
420
+ NEED_MPFR
421
+ SUITE
422
+ libc-math-unittests
423
+ SRCS
424
+ roundevenf16_test.cpp
425
+ HDRS
426
+ RoundEvenTest.h
427
+ DEPENDS
428
+ libc.src.math.roundevenf16
429
+ libc.src.__support.CPP.algorithm
340
430
libc.src.__support.FPUtil.fp_bits
341
431
)
342
432
0 commit comments