Double prescision math lib?
#1
Posted 20 September 2010 - 05:28 PM
#2
Posted 20 September 2010 - 06:36 PM
Other community members have been using this math library (source) from Elze Kool.
Does that meet your needs, or do you need something beyond that? If more, please let us know what you need exactly...we could certainly make it.
Chris
#3
Posted 20 September 2010 - 07:16 PM
#4
Posted 24 September 2010 - 06:11 PM
#5
Posted 24 September 2010 - 06:18 PM
Is there any way you guys might think about doing a native solution? We need an extremely fast lib. Having it in managed code might be too wasteful.
That's certainly a possibility. Any other community members interested in this (using, helping implement, etc.)?
#6
Posted 24 September 2010 - 06:21 PM
#7
Posted 24 September 2010 - 06:22 PM
I can probably write the lib, but I don't think I have a proper build envo. I'll have to look into the requirements to compile the Netduino firmware.
You can compile it under GCC and then let Chris and his minions recompile under RVDS or whatever it is that they use.
#8
Posted 24 September 2010 - 07:44 PM
#9
Posted 25 September 2010 - 01:23 AM
#10
Posted 26 September 2010 - 10:31 PM
#11
Posted 23 April 2011 - 07:26 PM
#12
Posted 23 April 2011 - 11:44 PM
#13
Posted 24 April 2011 - 01:01 AM
#14
Posted 27 April 2011 - 02:23 AM
#15
Posted 27 April 2011 - 10:05 AM
#16
Posted 27 April 2011 - 11:52 AM
That was before I got a netduino It would be useful to have one ...I posted firmware builds of my math library to the forums. There seemed to be a huge lack of interest so I did not pursue it any further.
#17
Posted 27 April 2011 - 03:03 PM
That said, a native implementation certainly would be handy.
#18
Posted 27 April 2011 - 03:49 PM
I have done some work on that functions a time ago, because there are many points unclear. For example, the using of doubles and floats together. On a Netduino platform, I guess the doubles should be taken only for extreme solutions, not for common math.We added the exMath trigonometry library to the netduino.helpers library: http://netduinohelpers.codeplex.com/
Over that, I have tested the square root function but it is absolutely off even for a fast PC: it converges too slowly for large numbers. I have published another solution that would be appreciable for Netduino users.
Absolutely true!That said, a native implementation certainly would be handy.
As far I will have some spare time, I may take in charge some algorithm using C#. I cannot provide any native implementation due the impossibility to compile the MF.
Cheers
#19
Posted 27 April 2011 - 05:04 PM
#20
Posted 27 April 2011 - 08:50 PM
is there something wrong with mine that it isn't good enough for you to use in the meantime?
I was not aware that you wrote one. Got a link? Does it require reflashing the netduino with a custom firmware?
-Fabien.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users