1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00
Files
glibc/sysdeps/ieee754/ldbl-opt/nldbl-cospi.c
Joseph Myers 0ae0af68d8 Implement C23 cospi
C23 adds various <math.h> function families originally defined in TS
18661-4.  Add the cospi functions (cos(pi*x)).

Tested for x86_64 and x86, and with build-many-glibcs.py.
2024-12-04 10:20:44 +00:00

9 lines
93 B
C

#include "nldbl-compat.h"
double
attribute_hidden
cospil (double x)
{
return cospi (x);
}