Joseph Myers
a5a2a76bb7
Support defining strtof64, strtof32x, wcstof64, wcstof32x aliases.
...
This patch adds support for defining strtof64, strtof32x, wcstof64,
wcstof32x and the corresponding _l functions as aliases of the
corresponding double functions when _Float64 and _Float32x support is
enabled.
Tested for x86_64; also tested with build-many-glibcs.py in
conjunction with other _Float64 / _Float32x changes.
* stdlib/strtod.c: Include <bits/floatn.h>.
(BUILD_DOUBLE): New macro.
[BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
(strtof64): Define and later undefine as macro. Define as weak
alias if [!USE_WIDE_CHAR].
[BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
(wcstof64): Define and later undefine as macro. Define as weak
alias if [USE_WIDE_CHAR].
[BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
(strtof32x): Define and later undefine as macro. Define as weak
alias if [!USE_WIDE_CHAR].
[BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
(wcstof32x): Define and later undefine as macro. Define as weak
alias if [USE_WIDE_CHAR].
* stdlib/strtod_l.c: Include <bits/floatn.h>.
(BUILD_DOUBLE): New macro.
[BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
(strtof64_l): Define and later undefine as macro. Define as weak
alias if [!USE_WIDE_CHAR].
[BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
(wcstof64_l): Define and later undefine as macro. Define as weak
alias if [USE_WIDE_CHAR].
[BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
(strtof32x_l): Define and later undefine as macro. Define as weak
alias if [!USE_WIDE_CHAR].
[BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
(wcstof32x_l): Define and later undefine as macro. Define as weak
alias if [USE_WIDE_CHAR].
2017-12-05 18:31:53 +00:00
..
2017-03-16 13:31:57 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-10-05 14:48:16 +02:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-09-26 16:53:44 -07:00
2017-09-26 16:53:44 -07:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2012-01-16 09:03:20 -05:00
2017-02-25 09:59:46 -05:00
2016-10-25 17:05:47 -02:00
2017-01-01 00:14:16 +00:00
2017-10-01 14:34:54 -07:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-09-20 09:31:48 -07:00
2017-09-20 09:31:48 -07:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-14 08:14:34 -04:00
2017-09-21 12:14:41 -07:00
2017-10-01 17:58:24 -07:00
2017-08-31 18:52:00 +02:00
2017-01-01 00:14:16 +00:00
2017-06-07 16:58:42 -03:00
2017-06-07 17:08:21 -03:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-08-03 22:35:48 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-10-01 15:15:30 -07:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-09-21 12:14:41 -07:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-20 20:30:06 -04:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-09-20 09:31:48 -07:00
2017-03-13 18:45:42 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-11-03 17:10:39 +00:00
2017-08-22 07:50:57 -07:00
2017-01-01 00:14:16 +00:00
2017-06-07 17:08:21 -03:00
2017-12-05 18:01:25 +00:00
2017-01-01 00:14:16 +00:00
2017-11-24 23:12:30 +00:00
2017-12-05 18:31:53 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-08-13 21:11:47 +02:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-12-05 18:31:53 +00:00
2017-06-20 20:30:06 -04:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-20 20:30:06 -04:00
2017-06-20 20:30:06 -04:00
2017-06-20 20:30:06 -04:00
2017-01-01 00:14:16 +00:00
2017-11-24 22:51:53 +00:00
2017-06-20 20:30:06 -04:00
2017-01-01 00:14:16 +00:00
2017-06-20 20:30:06 -04:00
2017-01-01 00:14:16 +00:00
2017-06-20 20:30:06 -04:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-09-20 09:31:48 -07:00
2017-09-25 17:51:34 -07:00
2017-09-20 09:31:48 -07:00
2017-01-01 00:14:16 +00:00
2017-02-16 17:33:18 -05:00
2017-09-20 09:31:48 -07:00
2017-09-21 12:14:41 -07:00
2017-09-21 12:14:41 -07:00
2017-09-20 09:31:48 -07:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-08-27 19:10:40 -07:00
2017-09-01 11:35:55 -07:00
2017-08-27 19:10:40 -07:00
2017-01-01 00:14:16 +00:00
2017-08-27 19:10:40 -07:00
2017-01-20 00:45:09 +05:30
2017-02-25 09:59:46 -05:00
2014-11-05 15:24:08 +05:30
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2014-12-29 23:14:38 -05:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-08-27 19:10:40 -07:00
2014-06-20 21:29:33 +01:00
2017-01-01 00:14:16 +00:00
2014-11-05 15:24:08 +05:30
2014-11-05 15:24:08 +05:30
2017-01-01 00:14:16 +00:00
2014-11-05 15:24:08 +05:30
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-11-30 14:56:49 +01:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-05-11 19:27:59 -04:00
2017-08-12 17:20:24 +02:00
2017-05-11 19:27:59 -04:00
2017-08-12 17:20:24 +02:00
2016-10-25 17:05:47 -02:00
2017-06-12 14:48:53 -03:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2015-04-10 20:45:30 +00:00
2016-10-28 00:40:23 +00:00
2017-11-24 21:42:55 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-05-11 19:27:59 -04:00
2017-11-07 18:08:44 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2015-10-16 20:21:49 +00:00
2015-10-16 20:21:49 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-09-26 16:53:44 -07:00
2017-01-01 00:14:16 +00:00
2017-09-20 19:37:45 -07:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-11-27 14:16:47 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00