From: ada.newcomer@gmail.com
Subject: GNAT for AVR - Mathematical Functions
Date: Sun, 16 Sep 2018 19:22:45 -0700 (PDT)
Date: 2018-09-16T19:22:45-07:00 [thread overview]
Message-ID: <ed6bc2e2-a2e1-4a0b-b253-8142d47518c9@googlegroups.com> (raw)
Hello.
I'm programming an ATmega328P with the GNAT compiler for AVR.
I need to use the Sqrt, Arctan and Atan2 functions. But maybe in the future I will need to use some more.
I don't have access to the regular Ada.Numerics package.
By now, I wrote the Sqrt using the Newton's method and Arctan using Taylor series.
I would like to know if there is a better way to use/implement mathematical functions (maybe import them from C?).
I really appreciate any help.
next reply other threads:[~2018-09-17 2:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-17 2:22 ada.newcomer [this message]
2018-09-17 7:18 ` GNAT for AVR - Mathematical Functions Dmitry A. Kazakov
2018-09-17 22:41 ` Aurele Vitali
2018-09-17 12:22 ` Simon Wright
2018-09-17 17:28 ` Bill Findlay
2018-09-17 22:35 ` Aurele Vitali
2018-09-18 1:16 ` rakusu_klein
2018-09-25 7:14 ` R R
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox