Sound Open Firmware
Loading...
Searching...
No Matches
sqrt.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 *
3 * Copyright(c) 2021-2026 Intel Corporation.
4 *
5 * Author: Shriram Shastry <malladi.sastry@linux.intel.com>
6 *
7 */
8
9#ifndef __SOF_MATH_SQRT_H__
10#define __SOF_MATH_SQRT_H__
11
12#include <stdint.h>
13
19uint16_t sofm_sqrt_int16(uint16_t u);
20
30int32_t sofm_sqrt_int32(int32_t n);
31
32#endif /* __SOF_MATH_SQRT_H__ */
int32_t sofm_sqrt_int32(int32_t n)
sofm_sqrt_int32() - Calculate 32-bit fractional square root function.
uint16_t sofm_sqrt_int16(uint16_t u)
sofm_sqrt_int16() - Calculate 16-bit fractional square root function.