DPDK 22.11.6
rte_approx.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2014 Intel Corporation
3 */
4
5#ifndef __INCLUDE_RTE_APPROX_H__
6#define __INCLUDE_RTE_APPROX_H__
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
22#include <stdint.h>
23
40int rte_approx(double alpha, double d, uint32_t *p, uint32_t *q);
41
58int rte_approx_64(double alpha, double d, uint64_t *p, uint64_t *q);
59
60#ifdef __cplusplus
61}
62#endif
63
64#endif /* __INCLUDE_RTE_APPROX_H__ */
int rte_approx(double alpha, double d, uint32_t *p, uint32_t *q)
int rte_approx_64(double alpha, double d, uint64_t *p, uint64_t *q)