English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 08 April 2010, 01:16   #1
Tiddlypeeps
Tiddlypeeps
 
Tiddlypeeps's Avatar
 
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.
Tiddlypeeps is offline  
Old 08 April 2010, 01:21   #2
Tiddlypeeps
Tiddlypeeps
 
Tiddlypeeps's Avatar
 
Join Date: Oct 2009
Location: Ireland
Posts: 67
Nevermind, ignore the above post.
Tiddlypeeps is offline  
Old 08 April 2010, 01:30   #3
smoorke
Registered User
 
smoorke's Avatar
 
Join Date: Jul 2007
Location: Ghent/Belgium
Age: 43
Posts: 247
Send a message via MSN to smoorke
just for the sake of completness

mathtrans.library
mathieeesingtrans.library
mathieeedoubtrans.library
mathieeedoubbas.library

rexxmathlib.library
smoorke is offline  
Old 08 April 2010, 09:40   #4
Leffmann
 
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.
Leffmann is offline  
Old 08 April 2010, 17:46   #5
Tiddlypeeps
Tiddlypeeps
 
Tiddlypeeps's Avatar
 
Join Date: Oct 2009
Location: Ireland
Posts: 67
There is no scoptions file in my project folder :/
Tiddlypeeps is offline  
Old 08 April 2010, 19:45   #6
Leffmann
 
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.
Leffmann is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:51.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.45681 seconds with 13 queries