summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/ppc/gcc_qdiv.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/builtins/ppc/gcc_qdiv.c')
-rw-r--r--compiler-rt/lib/builtins/ppc/gcc_qdiv.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/compiler-rt/lib/builtins/ppc/gcc_qdiv.c b/compiler-rt/lib/builtins/ppc/gcc_qdiv.c
index bbb536833e5..35a3cbc3d3f 100644
--- a/compiler-rt/lib/builtins/ppc/gcc_qdiv.c
+++ b/compiler-rt/lib/builtins/ppc/gcc_qdiv.c
@@ -1,12 +1,10 @@
-/* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
- * See https://llvm.org/LICENSE.txt for license information.
- * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
- */
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-/* long double __gcc_qdiv(long double x, long double y);
- * This file implements the PowerPC 128-bit double-double division operation.
- * This implementation is shamelessly cribbed from Apple's DDRT, circa 1993(!)
- */
+// long double __gcc_qdiv(long double x, long double y);
+// This file implements the PowerPC 128-bit double-double division operation.
+// This implementation is shamelessly cribbed from Apple's DDRT, circa 1993(!)
#include "DD.h"
@@ -21,7 +19,7 @@ long double __gcc_qdiv(long double a, long double b) {
q = x / y;
- /* Detect special cases */
+ // Detect special cases
if (q == 0.0) {
dst.s.hi = q;
dst.s.lo = 0.0;
OpenPOWER on IntegriCloud