mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 05:51:04 +00:00
17 lines
368 B
C
17 lines
368 B
C
|
/* Copyright (C) 2015 by Red Hat, Incorporated. All rights reserved.
|
||
|
*
|
||
|
* Permission to use, copy, modify, and distribute this software
|
||
|
* is freely granted, provided that this notice is preserved.
|
||
|
*/
|
||
|
|
||
|
#include <complex.h>
|
||
|
#include "../common/fdlibm.h"
|
||
|
|
||
|
long double
|
||
|
creall (long double complex z)
|
||
|
{
|
||
|
long_double_complex w = { .z = z };
|
||
|
|
||
|
return (REAL_PART(w));
|
||
|
}
|