Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-20-2005, 02:42 PM   #1
LQ Newbie
Registered: May 2005
Posts: 16

Rep: Reputation: 0
math library for linux

im lookign for a performance optimized math library for linux running on i386 arch. i was told DXML(CXML) is the best but it only seem to be supported on alpha and digital unix. can anyone suggest an alternative for i386? i downloaded the intel math kernel library but dotn know how that compares performance wise to other ones.
Old 05-23-2005, 01:58 PM   #2
LQ Newbie
Registered: May 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Old 05-23-2005, 02:19 PM   #3
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 5,388

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
You can always create 2 program tests which do the same math
functions and run them through time command from the shell

Last edited by keefaz; 05-23-2005 at 02:21 PM.
Old 05-28-2005, 07:28 AM   #4
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
The relative performance of different libraries varies wildly depending on the exact model of processor that you are using, and the optimisation characteristics of the compiler.

If speed is your concern, then you'll probably find that gcc -O3 will optimise almost any source code very well (unless it relies heavily on bad constructs like goto: and global variables, which are notoriously hard to optimise around anyway). You could also try playing with the various optimisation tags.

However, the best way to make a program run fast is still to optimise your algorims to be the lowest order possible, for large data sets, and the smallest number of instructions for small data sets.
Old 05-28-2005, 07:05 PM   #5
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I don't know the thing you mentioned, but have you seen



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ANSI C: Math library making #include unnecessary? olspookishmagus Programming 3 11-01-2005 09:50 AM
Symbolic math in Linux? clausawits Linux - Software 5 02-06-2005 01:25 AM
C+ library on Linux libra610 Programming 2 12-10-2004 02:00 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM
what is the function library of the basic graphics library in rethat9.0? zerwolve Red Hat 0 04-29-2004 09:18 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration