DPDK  24.11.0-rc3
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 
17 #include <stdint.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
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)