]> git.ipfire.org Git - thirdparty/glibc.git/blame - math/s_nan_template.c
x86-64: Add vector log1p/log1pf implementation to libmvec
[thirdparty/glibc.git] / math / s_nan_template.c
CommitLineData
bc9f6000 1/* Return quiet nan.
2b778ceb 2 Copyright (C) 1997-2021 Free Software Foundation, Inc.
bc9f6000 3 This file is part of the GNU C Library.
bc9f6000
UD
4
5 The GNU C Library is free software; you can redistribute it and/or
41bdb6e2
AJ
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
bc9f6000
UD
9
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
41bdb6e2 13 Lesser General Public License for more details.
bc9f6000 14
41bdb6e2 15 You should have received a copy of the GNU Lesser General Public
59ba27a6 16 License along with the GNU C Library; if not, see
5a82c748 17 <https://www.gnu.org/licenses/>. */
bc9f6000 18
bc9f6000 19#include <math.h>
26dee9c4 20#include <stdio.h>
22d57dd3
UD
21#include <stdlib.h>
22#include <string.h>
23#include <ieee754.h>
bc9f6000
UD
24
25
2c46d114
PM
26FLOAT
27M_DECL_FUNC (__nan) (const char *tagp)
bc9f6000 28{
2c46d114 29 return M_STRTO_NAN (tagp, NULL, 0);
bc9f6000 30}
2c46d114
PM
31
32declare_mgen_alias (__nan, nan)