source: asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/complex/cacosl.c@ 352

Last change on this file since 352 was 352, checked in by coas-nagasima, 6 years ago

arm向けASP3版ECNLを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 329 bytes
Line 
1#include "libm.h"
2
3#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
4long double complex cacosl(long double complex z)
5{
6 return cacos(z);
7}
8#else
9// FIXME
10#define PI_2 1.57079632679489661923132169163975144L
11long double complex cacosl(long double complex z)
12{
13 z = casinl(z);
14 return CMPLXL(PI_2 - creall(z), -cimagl(z));
15}
16#endif
Note: See TracBrowser for help on using the repository browser.