diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-01-26 15:53:50 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-01-30 12:21:25 +0000 |
| commit | e820a33748b5e22cecafddf919a7d8679949deb1 (patch) | |
| tree | a49692232b07f06e9c169aa3e24b2ccb33339903 /tools/perf/scripts/python | |
| parent | de645b279144b7d036ef672227af76739365f3ae (diff) | |
math.h: Introduce data types for fractional numbers
Introduce a macro to produce data types like
struct TYPE_fract {
__TYPE numerator;
__TYPE denominator;
};
to be used in the code wherever it's needed.
In the following changes convert some users to it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220126135353.24007-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
