Skip to content

Commit 33245d7

Browse files
committed
Add fast math functions to documentation
1 parent 257335f commit 33245d7

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

docs/api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ API Reference
88
api/binary_operators.rst
99
api/reductions.rst
1010
api/mathematical.rst
11+
api/fast_math.rst
1112
api/conditional.rst
1213
api/memory_read_write.rst
1314

docs/build_api.py

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ def build_index_page(groups):
9090
"for_each",
9191
],
9292
"Generation": [
93-
"range",
93+
("range", "range()"),
94+
("range", "range(F fun)"),
9495
"range_like",
9596
"each_index",
9697
"fill",
@@ -193,6 +194,14 @@ def build_index_page(groups):
193194
"isinf",
194195
"isnan",
195196
],
197+
"Fast math": [
198+
"fast_exp",
199+
"fast_log",
200+
"fast_cos",
201+
"fast_sin",
202+
"fast_tan",
203+
"fast_div",
204+
],
196205
"Conditional": [
197206
("where", "where(const C&, const L&, const R&)"),
198207
("where", "where(const C&, const L&)"),
@@ -202,12 +211,12 @@ def build_index_page(groups):
202211
"cast_to",
203212
("load", "load(const T*, const I&)"),
204213
("load", "load(const T*, const I&, const M&)"),
205-
("loadn", "loadn(const T*, ptrdiff_t)"),
206-
("loadn", "loadn(const T*, ptrdiff_t, ptrdiff_t)"),
214+
("loadn", "loadn(const T*, size_t)"),
215+
("loadn", "loadn(const T*, size_t, size_t)"),
207216
("store", "store(const V&, T *ptr, const I&)"),
208217
("store", "store(const V&, T *ptr, const I&, const M&)"),
209-
("storen", "storen(const V&, T*, ptrdiff_t)"),
210-
("storen", "storen(const V&, T*, ptrdiff_t, ptrdiff_t)"),
218+
("storen", "storen(const V&, T*, size_t)"),
219+
("storen", "storen(const V&, T*, size_t, size_t)"),
211220
("aligned_ptr", "aligned_ptr", "struct"),
212221
]
213222
}

0 commit comments

Comments
 (0)