Author Topic: Math library?  (Read 895 times)

0 Members and 1 Guest are viewing this topic.

Offline WGhost9Topic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
Math library?
« on: July 06, 2009, 12:45:29 PM »
Well today I go to write some inverse kinematics for my Axon controlled project only to find it lacks basic math functions like square root and inverse sine etc. Currently I am messing around with trying to import math.h from the c library of Microsoft studio but it is proving annoyingly problematic. Rather than reinvent the wheel, I was wondering i anyone here has already written a math.h for the axon and would be so kind as to share it. Thanks very much,


Offline chelmi

  • Supreme Robot
  • *****
  • Posts: 496
  • Helpful? 15
Re: Math library?
« Reply #1 on: July 06, 2009, 01:20:44 PM »
The avr libc contains an implementation of math.h for AVR. Depending on your development environment, you need to include the math.h header and link with libm.



Get Your Ad Here