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.

DLL Talk / DLL Request - Maths

Author
Message
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 26th Sep 2007 13:12
Hi!
Could some on please make me a DLL with the commands:
--
fmod
modf
--

Please, i have been trying for 2hours to make a dll for DBPro now, and i rly need those math commands.. :/

spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 26th Sep 2007 14:01
Is that a floating point mod.

The builtin DBPro command already copes with floats with the mod command.



Boo!
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 26th Sep 2007 14:02 Edited at: 26th Sep 2007 14:04
lol, its NOT a documentation on it? :S

edit:
eh-h..
77.77 mod 66.66 returns 0 :s

that dont sounds right :/

spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 26th Sep 2007 14:11 Edited at: 26th Sep 2007 14:13
I get 11.1 on my pc

The sparse documentation does exist if you know where to find it! Hit F1, then 'principles' then 'operators'.

Boo!
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 26th Sep 2007 14:17
You must be running old version of DBPro.

Release notes for V6.0 state;

Quote: "
MOD operator now allows floating point values to be passed in as parameters (internally uses the FMOD function)
"


PS We are up to 6.6b now.

Boo!
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 28th Sep 2007 18:32
ah-h... good, got it working now

Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 7th Oct 2007 10:40
watch out though, the dbp math still uses the pure floating-point system. So it's not entirely perfect for maths.

I believe that Nick (Happy OSX Dude) still has his math plug-ins available and IanM might have a couple in his MatrixUtils library

Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 20th Oct 2007 15:05
yea, got that problem now... working with very small numbers and some BIG ones

where can i find Nick's dll?

Login to post a reply

Server time is: 2024-11-22 22:26:59
Your offset time is: 2024-11-22 22:26:59