diff options
author | Roger Sayle <roger@eyesopen.com> | 2002-01-01 19:50:16 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2002-01-01 19:50:16 +0000 |
commit | 440eb00eefbe08f3e88badd6032787700ae56e04 (patch) | |
tree | 0cb2bd9c9f9131906d833a31806504614bae987f /libstdc++-v3/libmath | |
parent | 0a0ea5128dff23e0257e6b3cdfc46464c6beaa5c (diff) |
2002-01-01 Roger Sayle <roger@eyesopen.com>
* libmath/stubs.c (sinf,cosf): Implement stubs to enable the
equivalent ___builtin__ versions.
* include/c_shadow/bits/std_cmath.h: All __builtin math functions
are available in libstdc++ as the necessary stub implementations
are provided by libmath/stubs.c.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@48445 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/libmath')
-rw-r--r-- | libstdc++-v3/libmath/stubs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/libmath/stubs.c b/libstdc++-v3/libmath/stubs.c index 203feeed82c..586fd6db80e 100644 --- a/libstdc++-v3/libmath/stubs.c +++ b/libstdc++-v3/libmath/stubs.c @@ -1,6 +1,6 @@ /* Stub definitions for libmath subpart of libstdc++. */ -/* Copyright (C) 2001 Free Software Foundation, Inc. +/* Copyright (C) 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU ISO C++ Library. This library is free software; you can redistribute it and/or modify it under the @@ -51,7 +51,7 @@ atan2l(long double x, long double y) #endif -#if !defined(HAVE_COSF) && !defined(HAVE___BUILTIN_COSF) +#ifndef HAVE_COSF float cosf(float x) { @@ -186,7 +186,7 @@ powl(long double x, long double y) #endif -#if !defined(HAVE_SINF) && !defined(HAVE___BUILTIN_SINF) +#ifndef HAVE_SINF float sinf(float x) { |