1.3 KiB
1.3 KiB
Unary
Strided array functions for unary callbacks.
Notes
- Each file contains a single strided array function. The file name matches the strided array function name suffix.
- The implemented functions which perform conversions are not exhaustive and that is intentional. Namely, functions which would perform "unsafe" callback argument and return value conversions are not included (e.g., converting an
int32
toint16
ordouble
toint32
). If users want to perform "unsafe" conversions, that should be a conscious decision. All the machinery (e.g., macros, typedefs, etc) is available for implementing strided array functions which perform "unsafe" conversions, but we should not make this overly easy or be proactive in promoting "unsafe" conversion use.