calculate.h 660 B

12345678910111213141516171819202122232425
  1. /******************************************************************************
  2. 版权所有:
  3. 文件名称: calculate.h
  4. 文件版本: 01.01
  5. 创建作者: sunxi
  6. 创建日期: 2008-08-25
  7. 功能说明: 算术计算公式。
  8. 其它说明:
  9. 修改记录:
  10. */
  11. #ifndef _CALCULATE_H
  12. #define _CALCULATE_H
  13. unsigned long cal_complex_magnitude(long real,long imag);
  14. long cal_complex_phase(long real,long imag);
  15. long cal_complex_phase_cos(long real,long imag);
  16. long cal_q16_multi(long a,long b);
  17. long cal_multi_divide(long a,long b,long c);
  18. unsigned long cal_multi_divide_unsigned(unsigned long a,unsigned long b,unsigned long c);
  19. long _cal_asin(long x);
  20. int cal_test(void);
  21. #endif