DPDK  24.03.0
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
9 extern "C" {
10 #endif
11 
21 #include <stdint.h>
22 
39 int rte_approx(double alpha, double d, uint32_t *p, uint32_t *q);
40 
57 int rte_approx_64(double alpha, double d, uint64_t *p, uint64_t *q);
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 #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)