xref: /freebsd/lib/msun/src/s_crealf.c (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
18b5cd5a6SStefan Farfeleder /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
35e53a4f9SPedro F. Giffuni  *
48b5cd5a6SStefan Farfeleder  * Copyright (c) 2004 Stefan Farfeleder
58b5cd5a6SStefan Farfeleder  * All rights reserved.
68b5cd5a6SStefan Farfeleder  *
78b5cd5a6SStefan Farfeleder  * Redistribution and use in source and binary forms, with or without
88b5cd5a6SStefan Farfeleder  * modification, are permitted provided that the following conditions
98b5cd5a6SStefan Farfeleder  * are met:
108b5cd5a6SStefan Farfeleder  * 1. Redistributions of source code must retain the above copyright
118b5cd5a6SStefan Farfeleder  *    notice, this list of conditions and the following disclaimer.
128b5cd5a6SStefan Farfeleder  * 2. Redistributions in binary form must reproduce the above copyright
138b5cd5a6SStefan Farfeleder  *    notice, this list of conditions and the following disclaimer in the
148b5cd5a6SStefan Farfeleder  *    documentation and/or other materials provided with the distribution.
158b5cd5a6SStefan Farfeleder  *
168b5cd5a6SStefan Farfeleder  * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
178b5cd5a6SStefan Farfeleder  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
188b5cd5a6SStefan Farfeleder  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
198b5cd5a6SStefan Farfeleder  * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
208b5cd5a6SStefan Farfeleder  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
218b5cd5a6SStefan Farfeleder  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
228b5cd5a6SStefan Farfeleder  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
238b5cd5a6SStefan Farfeleder  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
248b5cd5a6SStefan Farfeleder  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
258b5cd5a6SStefan Farfeleder  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
268b5cd5a6SStefan Farfeleder  * SUCH DAMAGE.
278b5cd5a6SStefan Farfeleder  */
288b5cd5a6SStefan Farfeleder 
298b5cd5a6SStefan Farfeleder #include <complex.h>
308b5cd5a6SStefan Farfeleder 
318b5cd5a6SStefan Farfeleder float
crealf(float complex z)328b5cd5a6SStefan Farfeleder crealf(float complex z)
338b5cd5a6SStefan Farfeleder {
348b5cd5a6SStefan Farfeleder 	return z;
358b5cd5a6SStefan Farfeleder }
36