summaryrefslogtreecommitdiff
path: root/lib/mulsf3.c
diff options
context:
space:
mode:
authorStephen Canon <scanon@apple.com>2010-07-01 17:58:24 +0000
committerStephen Canon <scanon@apple.com>2010-07-01 17:58:24 +0000
commit5c6d2ecb9c43d8b836b3203a243e24703d473765 (patch)
treefc9c0b02c0861584d954bfec42d79afcc9779b95 /lib/mulsf3.c
parente5086322295e5a345af02d09abfcf8ddca2d0897 (diff)
Correction to previous commit which mistakenly included older versions of some files; now includes the correct LLVM license header
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/mulsf3.c')
-rw-r--r--lib/mulsf3.c22
1 files changed, 13 insertions, 9 deletions
diff --git a/lib/mulsf3.c b/lib/mulsf3.c
index 8c8b3144f..56a1ee36a 100644
--- a/lib/mulsf3.c
+++ b/lib/mulsf3.c
@@ -1,16 +1,20 @@
-/*
- * The LLVM Compiler Infrastructure
- *
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
- */
+//===-- lib/mulsf3.c - Single-precision multiplication ------------*- C -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements single-precision soft-float multiplication
+// with the IEEE-754 default rounding (to nearest, ties to even).
+//
+//===----------------------------------------------------------------------===//
#define SINGLE_PRECISION
#include "fp_lib.h"
-// This file implements single-precision soft-float multiplication with the
-// IEEE-754 default rounding (to nearest, ties to even).
-
// 32x32 --> 64 bit multiply
static inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) {
const uint64_t product = (uint64_t)a*b;