Constants:pi*2pipi/2trigonometry:sincostanarcsinarccosarctanpoladditional:convert deg <-> radloglog2log10powsqrt

timediff = 12*arccos((sin(h) - sin(lat)*sin(declination)) / (cos(lat)*cos(declination)))/Pi

... but where I am sunrise is in the morning and sunset in the evening

I've added this to the Lua module in my philmoz-reorg branch.

Quote from: philmoz on 18 / December / 2012, 05:12:11I've added this to the Lua module in my philmoz-reorg branch.Fine, thank you.Compilation of hostlua is missing cordic_math.h in imathlib.c. That was the reason for add cordic_math.h in makefile for hostlua. A second possibility is saving a copy of cordic_math.h in hostlua/include.

Hi Phil,I would like to rework gps mathematics, but I think cordic_math files (.c, .h, .o) are too much integrated in lua on philmoz-reorg branch. What can I do?It is useful to make a gps module?Thanks a lot, rudi

Here is a package to gives chdk trigonometric functions without classic approximations. It used the integer based CORDIC algorithm.

Started by mattkime Script Writing

Started by Aged Completed and Working Scripts

Started by DBgit « 1 2 » Script Writing

Started by reyalp Completed and Working Scripts