diff options
author | Stephen Canon <scanon@apple.com> | 2010-07-01 17:58:24 +0000 |
---|---|---|
committer | Stephen Canon <scanon@apple.com> | 2010-07-01 17:58:24 +0000 |
commit | 5c6d2ecb9c43d8b836b3203a243e24703d473765 (patch) | |
tree | fc9c0b02c0861584d954bfec42d79afcc9779b95 /lib/comparesf2.c | |
parent | e5086322295e5a345af02d09abfcf8ddca2d0897 (diff) | |
download | compiler-rt-5c6d2ecb9c43d8b836b3203a243e24703d473765.tar.gz compiler-rt-5c6d2ecb9c43d8b836b3203a243e24703d473765.tar.bz2 compiler-rt-5c6d2ecb9c43d8b836b3203a243e24703d473765.tar.xz |
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/comparesf2.c')
-rw-r--r-- | lib/comparesf2.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/comparesf2.c b/lib/comparesf2.c index 6706f192..fd057240 100644 --- a/lib/comparesf2.c +++ b/lib/comparesf2.c @@ -9,7 +9,7 @@ // // This file implements the following soft-fp_t comparison routines: // -// __eqsf2 __gesf2 __nesf2 +// __eqsf2 __gesf2 __unordsf2 // __lesf2 __gtsf2 // __ltsf2 // __nesf2 @@ -79,7 +79,6 @@ enum LE_RESULT __lesf2(fp_t a, fp_t b) { } } - enum GE_RESULT { GE_LESS = -1, GE_EQUAL = 0, @@ -113,7 +112,7 @@ int __unordsf2(fp_t a, fp_t b) { return aAbs > infRep || bAbs > infRep; } -// The following are just other names for the forgoing routines. +// The following are alternative names for the preceeding routines. enum LE_RESULT __eqsf2(fp_t a, fp_t b) { return __lesf2(a, b); @@ -130,4 +129,3 @@ enum LE_RESULT __nesf2(fp_t a, fp_t b) { enum GE_RESULT __gtsf2(fp_t a, fp_t b) { return __gesf2(a, b); } - |