[Kstars-devel] Review Request 113019: Update moon position code to Meeus 1998 and fixed bug in Time calculator->Almanac
Aleksey Khudyakov
alexey.skladnoy at gmail.com
Sat Dec 7 18:15:18 UTC 2013
> On Dec. 7, 2013, 5:53 p.m., Rafal Kulaga wrote:
> > Ship it, but I think it would make sense to use pow() instead of series of multiplication operators.
I would expect pow to be much slower than multiplication. Also to my knowledge most efficient method for evaluation of polynomials is Horner's algorithm. http://en.wikipedia.org/wiki/Horner%27s_method
- Aleksey
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113019/#review45314
-----------------------------------------------------------
On Oct. 9, 2013, 12:06 a.m., Vijay Dhameliya wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113019/
> -----------------------------------------------------------
>
> (Updated Oct. 9, 2013, 12:06 a.m.)
>
>
> Review request for KStars, Akarsh Simha, Henry de Valence, and Rafal Kulaga.
>
>
> Repository: kstars
>
>
> Description
> -------
>
> As such there are no major changes made in Moon Position algorithm in Meeus 1998 from Meeus 1991 but few constants are modified which increases accuracy by few arc-seconds.
>
> Previously Tools->Calculator->Time Calculators->Almanac always produced phase unknown which is fixed by calling findPosition() and findPhase() before calling illum().
>
>
> Diffs
> -----
>
> kstars/skyobjects/ksmoon.cpp ac7e4ed
> kstars/tools/modcalcdaylength.cpp b11cca2
>
> Diff: http://git.reviewboard.kde.org/r/113019/diff/
>
>
> Testing
> -------
>
> Tools->Calculator->Time Calculators->Almanac produces correct phase.
>
>
> Thanks,
>
> Vijay Dhameliya
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20131207/381f4704/attachment.html>
More information about the Kstars-devel
mailing list