Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Fixed Point Library

Author
Message
empty
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 14th Dec 2003 23:57
Inspired by TCA's posts here and on the WIP board a little Fixed Point library (using 4 byte Integers, so it's DBC compatible). It contains conversion from floating point to fixed point and back, basic arithmetics (add, sub, mul, div) as well as cos and sin functions. The demo plots a sine and cosine wave.
Where and when to use it? I don't know.





Me, I'll sit and write this love song as I all too seldom do
build a little fire this midnight. It's good to be back home with you.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 15th Dec 2003 13:13
Yes, it is of no real use isn't it ? I'll probably release mine once I've done a text that details the commands in the DLL.


Did you bring the cloak of invisibility ? Oh damn, I left it in the bag of forgetfulness...

Login to post a reply

Server time is: 2024-05-03 19:30:25
Your offset time is: 2024-05-03 19:30:25