08 April 2010, 01:16 | #1 |
Tiddlypeeps
Join Date: Oct 2009
Location: Ireland
Posts: 67
|
Math library?
Is there a math library on the Amiga?
Dunno how I've managed to get this far without needing it, but anyway. If there is one does it have a square root function? Dunno if it makes a difference but im programming in C. |
08 April 2010, 01:21 | #2 |
Tiddlypeeps
Join Date: Oct 2009
Location: Ireland
Posts: 67
|
Nevermind, ignore the above post.
|
08 April 2010, 01:30 | #3 |
Registered User
|
just for the sake of completness
mathtrans.library mathieeesingtrans.library mathieeedoubtrans.library mathieeedoubbas.library rexxmathlib.library |
08 April 2010, 09:40 | #4 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
If you're still on SAS/C then you can click the SCoptions in your project folder, go to code options, set Math = standard, and Precision = mixed.
Now you can use the standard C math functions in math.h. You get IEEE format math, both float and double precision, and SAS/C links with its own libraries so you're not dependant on the mathxxx.library files. |
08 April 2010, 17:46 | #5 |
Tiddlypeeps
Join Date: Oct 2009
Location: Ireland
Posts: 67
|
There is no scoptions file in my project folder :/
|
08 April 2010, 19:45 | #6 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
If you open the SAS/C folder and then the c folder, you will find a program named scsetup. Run it and select a folder and a name for your project and it will create a new project folder and put the scoptions file in there along with a build and debug script.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Discovery: Math | Audio Snow | request.Old Rare Games | 30 | 20 August 2018 12:17 |
Looking for a math game, can't remember which! | toffo | support.Games | 12 | 26 April 2014 19:06 |
la bosse des math ? | turrican3 | request.Old Rare Games | 1 | 26 May 2007 06:58 |
Math apps | mtb | support.Apps | 1 | 08 September 2002 18:59 |
|
|