Files
kunlun/plc/halphy/hw/inc/math_log10.h

28 lines
372 B
C
Raw Normal View History

2024-09-28 14:24:04 +08:00
#ifndef MATH_LOG10_H
#define MATH_LOG10_H
#include "os_types.h"
#ifdef __cplusplus
extern "C" {
#endif
#pragma pack(push)
#pragma pack(1)
typedef struct _math_log10_tbl {
float log10_val;
uint64_t raw_data;
} math_log10_tbl_t;
extern const math_log10_tbl_t log10_tbl[];
float mlog10(uint64_t raw_data);
#pragma pack(pop)
#ifdef __cplusplus
}
#endif
#endif