Skip to content

Commit a52a666

Browse files
committed
chore: update docs
Signed-off-by: krishna2803 <[email protected]>
1 parent 893c49f commit a52a666

File tree

2 files changed

+85
-1
lines changed

2 files changed

+85
-1
lines changed

libc/docs/headers/math/stdfix.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The following functions are included in the ISO/IEC TR 18037:2008 standard.
6969
+===============+================+=============+===============+============+================+=============+================+=============+===============+============+================+=============+
7070
| abs | | |check| | | |check| | | |check| | | |check| | | |check| | | |check| |
7171
+---------------+----------------+-------------+---------------+------------+----------------+-------------+----------------+-------------+---------------+------------+----------------+-------------+
72-
| bits\* | | | | | | | | | | | | |
72+
| bits\* | | |check| | |check| | |check| | |check| | |check| | |check| | |check| | |check| | |check| | | |check| |
7373
+---------------+----------------+-------------+---------------+------------+----------------+-------------+----------------+-------------+---------------+------------+----------------+-------------+
7474
| \*bits | | | | | | | | | | | | |
7575
+---------------+----------------+-------------+---------------+------------+----------------+-------------+----------------+-------------+---------------+------------+----------------+-------------+

libc/include/stdfix.yaml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,90 @@ functions:
148148
arguments:
149149
- type: uint_ulk_t
150150
guard: LIBC_COMPILER_HAS_FIXED_POINT
151+
- name: bitshr
152+
standards:
153+
- stdc_ext
154+
return_type: int_hr_t
155+
arguments:
156+
- type: short fract
157+
guard: LIBC_COMPILER_HAS_FIXED_POINT
158+
- name: bitsuhr
159+
standards:
160+
- stdc_ext
161+
return_type: uint_uhr_t
162+
arguments:
163+
- type: unsigned short fract
164+
guard: LIBC_COMPILER_HAS_FIXED_POINT
165+
- name: bitsr
166+
standards:
167+
- stdc_ext
168+
return_type: int_r_t
169+
arguments:
170+
- type: fract
171+
guard: LIBC_COMPILER_HAS_FIXED_POINT
172+
- name: bitsur
173+
standards:
174+
- stdc_ext
175+
return_type: uint_ur_t
176+
arguments:
177+
- type: unsigned fract
178+
guard: LIBC_COMPILER_HAS_FIXED_POINT
179+
- name: bitslr
180+
standards:
181+
- stdc_ext
182+
return_type: int_lr_t
183+
arguments:
184+
- type: long fract
185+
guard: LIBC_COMPILER_HAS_FIXED_POINT
186+
- name: bitsulr
187+
standards:
188+
- stdc_ext
189+
return_type: uint_ulr_t
190+
arguments:
191+
- type: unsigned long fract
192+
guard: LIBC_COMPILER_HAS_FIXED_POINT
193+
- name: bitshk
194+
standards:
195+
- stdc_ext
196+
return_type: int_hk_t
197+
arguments:
198+
- type: short accum
199+
guard: LIBC_COMPILER_HAS_FIXED_POINT
200+
- name: bitsuhk
201+
standards:
202+
- stdc_ext
203+
return_type: uint_uhk_t
204+
arguments:
205+
- type: unsigned short accum
206+
guard: LIBC_COMPILER_HAS_FIXED_POINT
207+
- name: bitsk
208+
standards:
209+
- stdc_ext
210+
return_type: int_k_t
211+
arguments:
212+
- type: accum
213+
guard: LIBC_COMPILER_HAS_FIXED_POINT
214+
- name: bitsuk
215+
standards:
216+
- stdc_ext
217+
return_type: uint_uk_t
218+
arguments:
219+
- type: unsigned accum
220+
guard: LIBC_COMPILER_HAS_FIXED_POINT
221+
- name: bitslk
222+
standards:
223+
- stdc_ext
224+
return_type: int_lk_t
225+
arguments:
226+
- type: long accum
227+
guard: LIBC_COMPILER_HAS_FIXED_POINT
228+
- name: bitsulk
229+
standards:
230+
- stdc_ext
231+
return_type: uint_ulk_t
232+
arguments:
233+
- type: unsigned long accum
234+
guard: LIBC_COMPILER_HAS_FIXED_POINT
151235
- name: roundhk
152236
standards:
153237
- stdc_ext

0 commit comments

Comments
 (0)