[PowerPC][NFC] Cleanup PPCCTRLoopsVerify pass
[llvm-project.git] / libcxx / test / support / truncate_fp.h
blob1ac959ec4df5169d33dbc6300f2dfc449f384dc4
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 inline long double truncate_fp(long double val) {
10 volatile long double sink = val;
11 return sink;
14 inline double truncate_fp(double val) {
15 volatile double sink = val;
16 return sink;
19 inline float truncate_fp(float val) {
20 volatile float sink = val;
21 return sink;