blob: 3b661de9162f18b5e69d7003984942dca937c191 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
functional-type: function
links:
- role: interface-function
uid: ../if/align-up
rationale: null
references: []
requirement-type: functional
text: |
When the argument ${../if/align-up:/params[1]/name} is a
positive power of two integer,
and argument ${../if/align-up:/params[0]/name} is a positive or 0
integer,
the macro ${../if/align-up:/name} shall result in a side-effect free formula
calculating an integer which is the *smallest* whole-number *multiple* of
${../if/align-up:/params[1]/name} which is greater or equal
${../if/align-up:/params[0]/name}.
type: requirement
|