comp.lang.ada
 help / color / mirror / Atom feed
* GNAT for AVR - Mathematical Functions
@ 2018-09-17  2:22 ada.newcomer
  2018-09-17  7:18 ` Dmitry A. Kazakov
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: ada.newcomer @ 2018-09-17  2:22 UTC (permalink / 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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-09-25  7:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-17  2:22 GNAT for AVR - Mathematical Functions ada.newcomer
2018-09-17  7:18 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox