Last change
on this file since 452 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
367 bytes
|
Line | |
---|
1 | /* Copyright (C) 2015 by Red Hat, Incorporated. All rights reserved. |
---|
2 | * |
---|
3 | * Permission to use, copy, modify, and distribute this software |
---|
4 | * is freely granted, provided that this notice is preserved. |
---|
5 | */ |
---|
6 | |
---|
7 | #include <complex.h> |
---|
8 | #include "../common/fdlibm.h" |
---|
9 | |
---|
10 | long double |
---|
11 | cimagl (long double complex z) |
---|
12 | { |
---|
13 | long_double_complex w = { .z = z }; |
---|
14 | |
---|
15 | return IMAG_PART (w); |
---|
16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.