Skip to content

Commit f53e355

Browse files
authored
[libc] Add definitions for totalordermag(,f, l, f128), dsqrt(l, f128), fsqrt(, l, f128) to math.yaml. (#103494)
Added auto function hdrgen specification for functions: totalordermag(,f, l, f128), dsqrt(l, f128), fsqrt(, l, f128)
1 parent 9811971 commit f53e355

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

libc/newhdrgen/yaml/math.yaml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,20 @@ functions:
214214
arguments:
215215
- type: long double
216216
- type: long double
217+
- name: dsqrtl
218+
standards:
219+
- stdc
220+
return_type: double
221+
arguments:
222+
- type: long double
223+
- name: dsqrtf128
224+
standards:
225+
- llvm_libc_ext
226+
return_type: double
227+
arguments:
228+
- type: float128
229+
- type: float128
230+
guard: LIBC_TYPES_HAS_FLOAT128
217231
- name: erff
218232
standards:
219233
- stdc
@@ -1195,6 +1209,25 @@ functions:
11951209
- type: long double
11961210
- type: int
11971211
- type: unsigned int
1212+
- name: fsqrt
1213+
standards:
1214+
- stdc
1215+
return_type: float type
1216+
arguments:
1217+
- type: double
1218+
- name: fsqrtl
1219+
standards:
1220+
- stdc
1221+
return_type: float
1222+
arguments:
1223+
- type: long double
1224+
- name: fsqrtf128
1225+
standards:
1226+
- llvm_libc_ext
1227+
return_type: float
1228+
arguments:
1229+
- type: float128
1230+
guard: LIBC_TYPES_HAS_FLOAT128
11981231
- name: fsub
11991232
standards:
12001233
- stdc
@@ -2323,6 +2356,35 @@ functions:
23232356
arguments:
23242357
- type: const long double *
23252358
- type: const long double *
2359+
- name: totalordermag
2360+
standards:
2361+
- stdc
2362+
return_type: int
2363+
arguments:
2364+
- type: double *
2365+
- type: double *
2366+
- name: totalordermagf
2367+
standards:
2368+
- stdc
2369+
return_type: int
2370+
arguments:
2371+
- type: float *
2372+
- type: float *
2373+
- name: totalordermagl
2374+
standards:
2375+
- stdc
2376+
return_type: int
2377+
arguments:
2378+
- type: long double *
2379+
- type: long double *
2380+
- name: totalordermagf128
2381+
standards:
2382+
- stdc
2383+
return_type: int
2384+
arguments:
2385+
- type: float128 *
2386+
- type: float128 *
2387+
guard: LIBC_TYPES_HAS_FLOAT128
23262388
- name: totalordermagf16
23272389
standards:
23282390
- stdc

0 commit comments

Comments
 (0)