Subversion Repositories FlightCtrl

Rev

Rev 1994 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1994 Rev 1995
Line 1... Line 1...
1
#ifndef _ISQRT_H
1
#ifndef _ISQRT_H
2
#define _ISQRT_H
2
#define _ISQRT_H
3
 
3
 
4
#include <inttypes.h>
4
#include <inttypes.h>
5
 
5
 
6
// coded in assembler file
6
// coded in assembler file
7
extern uint16_t isqrt32(uint32_t n);
7
extern uint16_t isqrt32(uint32_t n);
8
extern uint8_t  isqrt16(uint16_t n);
8
extern uint8_t  isqrt16(uint16_t n);
9
extern uint16_t ihypot(int16_t x, int16_t y);
9
extern uint16_t ihypot(int16_t x, int16_t y);
10
 
10
 
11
#endif // _ISQRT_H
11
#endif // _ISQRT_H