diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-21 11:29:16 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-21 11:29:16 +0000 |
commit | 8d80962ddc3a07cf399e0f6e366771f5d3aef63b (patch) | |
tree | 3ff2d5d82c7386c1fa2875581a6bdf543a6518d1 /libstdc++-v3 | |
parent | 261c3b228eb759b14b638b9e7ecd2794b59923ea (diff) | |
download | gcc-8d80962ddc3a07cf399e0f6e366771f5d3aef63b.tar.gz |
Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35838 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/bits/std_cmath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/bits/std_cmath.h b/libstdc++-v3/bits/std_cmath.h index dd21e4fa19f..d7df14b2198 100644 --- a/libstdc++-v3/bits/std_cmath.h +++ b/libstdc++-v3/bits/std_cmath.h @@ -48,10 +48,10 @@ namespace std { // inline int abs(int i) - { return i < 0 ? i : -i; } + { return i > 0 ? i : -i; } inline long abs(long i) - { return i < 0 ? i : -i; } + { return i > 0 ? i : -i; } // // float |