28 lines
		
	
	
		
			372 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			372 B
		
	
	
	
		
			C
		
	
	
	
	
	
#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
 |