2016-06-28 20:30:42 +00:00
|
|
|
/* Definitions for strfroml. Implementation in stdlib/strfrom-skeleton.c.
|
2018-01-01 00:32:25 +00:00
|
|
|
Copyright (C) 2016-2018 Free Software Foundation, Inc.
|
2016-06-28 20:30:42 +00:00
|
|
|
This file is part of the GNU C Library.
|
|
|
|
|
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
The GNU C Library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with the GNU C Library; if not, see
|
|
|
|
<http://www.gnu.org/licenses/>. */
|
|
|
|
|
2017-10-13 23:09:48 +00:00
|
|
|
#include <bits/floatn.h>
|
|
|
|
|
2016-06-28 20:30:42 +00:00
|
|
|
#define FLOAT long double
|
|
|
|
#define STRFROM strfroml
|
|
|
|
|
2017-10-13 23:09:48 +00:00
|
|
|
#if __HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128
|
|
|
|
# define strfromf128 __hide_strfromf128
|
2017-11-24 23:12:30 +00:00
|
|
|
#endif
|
|
|
|
#if __HAVE_FLOAT64X_LONG_DOUBLE
|
|
|
|
# define strfromf64x __hide_strfromf64x
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
#if __HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128
|
2017-10-13 23:09:48 +00:00
|
|
|
# undef strfromf128
|
|
|
|
#endif
|
2017-11-24 23:12:30 +00:00
|
|
|
#if __HAVE_FLOAT64X_LONG_DOUBLE
|
|
|
|
# undef strfromf64x
|
|
|
|
#endif
|
2017-10-13 23:09:48 +00:00
|
|
|
|
2016-06-28 20:30:42 +00:00
|
|
|
#include "strfrom-skeleton.c"
|
2017-10-13 23:09:48 +00:00
|
|
|
|
|
|
|
#if __HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128
|
|
|
|
weak_alias (strfroml, strfromf128)
|
|
|
|
#endif
|
2017-11-24 23:12:30 +00:00
|
|
|
#if __HAVE_FLOAT64X_LONG_DOUBLE
|
|
|
|
weak_alias (strfroml, strfromf64x)
|
|
|
|
#endif
|