This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
b735f5eb15
zephyr
/
tests
/
unit
/
math_extras
/
testcase.yaml
5 lines
55 B
YAML
Raw
Normal View
History
Unescape
Escape
misc: Portable math_extras.h implementations. Add a <misc/math_extras.h> header file with portable implementations of a number of commonly used math and bit counting operations that are not available in the C programming language. The math_extras functions fall into two groups: 1. Unsigned integer arithmetic with overflow detection. Addition and multiplication are provides for the u32_t, u64_t, and size_t types. This commit doesn't include subtraction and division, and there are no signed operations. These could be added later if there is a need. 2. Bit-counting operations like clz, ctz, and ffs. These are provided for u32_t and u64_t only. I don't see a need for size_t operations, but they could be added if needed. A follow-on commit will add more efficient implementations using compiler builtins for those compilers that support it. Another commit will replace other uses of "naked" compiler builtins with calls to these functions. Signed-off-by: Jakob Olesen <jolesen@fb.com>
2019-05-07 23:27:12 +08:00
tests
:
tests: fix test identifiers The seasonal overhaul of test identifiers aligning the terms being used and creating a structure. This is hopefully the last time we do this, plan is to document the identifiers and enforce syntax. The end-goal is to be able to generate a testsuite description from the existing tests and sync it frequently with the testsuite in Testrail. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-12-02 01:29:43 +08:00
utilities.math
:
misc: Portable math_extras.h implementations. Add a <misc/math_extras.h> header file with portable implementations of a number of commonly used math and bit counting operations that are not available in the C programming language. The math_extras functions fall into two groups: 1. Unsigned integer arithmetic with overflow detection. Addition and multiplication are provides for the u32_t, u64_t, and size_t types. This commit doesn't include subtraction and division, and there are no signed operations. These could be added later if there is a need. 2. Bit-counting operations like clz, ctz, and ffs. These are provided for u32_t and u64_t only. I don't see a need for size_t operations, but they could be added if needed. A follow-on commit will add more efficient implementations using compiler builtins for those compilers that support it. Another commit will replace other uses of "naked" compiler builtins with calls to these functions. Signed-off-by: Jakob Olesen <jolesen@fb.com>
2019-05-07 23:27:12 +08:00
timeout
:
5
type
:
unit