SPDX-License-Identifier: CC-BY-SA-4.0 copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG enabled-by: true functional-type: function links: - role: interface-function uid: ../if/align-down rationale: null references: [] requirement-type: functional text: | When the argument ${../if/align-down:/params[1]/name} is a positive power of two integer, and argument ${../if/align-down:/params[0]/name} is a positive or 0 integer, the macro ${../if/align-down:/name} shall result in a side-effect free formula calculating an integer which is the *greatest* whole-number *multiple* of ${../if/align-down:/params[1]/name} which is smaller or equal ${../if/align-down:/params[0]/name}. type: requirement