LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 04-10-2001, 04:11 AM   #1
Damicles
LQ Newbie
 
Registered: Oct 2000
Location: Burlington/Whitewater, WI
Distribution: Slackware
Posts: 19

Rep: Reputation: 0

Why does Linux use the stripped down version of math.h? I'm used to pow(x,y), sqrt(x), etc., but I can't find head nor hair of any of these functions.

In a nutshell: "What gives?!?" :-)

 
Old 12-03-2010, 02:38 AM   #2
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.37, OpenSuse 11.3
Posts: 4,373
Blog Entries: 21

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
pow and sqrt functions have been included in math.h "now", but who knows how these libraries looked like 9 years back!!
 
Old 12-03-2010, 06:12 AM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
Pls don't rez ancient threads, it serves no purpose.
 
Old 12-03-2010, 02:51 PM   #4
wje_lq
Member
 
Registered: Sep 2007
Location: Mariposa
Distribution: Debian lenny, Slackware 12
Posts: 805

Rep: Reputation: 161Reputation: 161
Quote:
Originally Posted by H_TeXMeX_H View Post
Pls don't rez ancient threads, it serves no purpose.
I quite agree. However, as long as this thread has been dragged kicking and screaming from its grave:
Quote:
Originally Posted by anishakaul View Post
pow and sqrt functions have been included in math.h "now", but who knows how these libraries looked like 9 years back!!
Actually, I do. These functions were there in Slackware 8, whose CD's were gathering dust on my bookshelf for some reason. Now I know the reason.
 
Old 12-03-2010, 11:25 PM   #5
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.37, OpenSuse 11.3
Posts: 4,373
Blog Entries: 21

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
Quote:
Originally Posted by H_TeXMeX_H View Post
Pls don't rez ancient threads, it serves no purpose.
Of course I know that Though as discussed previously in LQ S&F, a zero reply thread doesn't have an age bar, but AFA this thread is concerned I admit that I answered it only for fun sake and I was prepared for all of bricks and bats

Last edited by Anisha Kaul; 12-03-2010 at 11:27 PM.
 
Old 12-04-2010, 01:43 AM   #6
honeybadger
Member
 
Registered: Aug 2007
Location: India, Pune
Distribution: Debian, Vector Linux, Slackware
Posts: 602

Rep: Reputation: 67
Comeon, it is not about bricks and bats. If you did it for fun I would inderstand but then again looking at your programing skills it would be a _lot_ better if you answered someone and we all learnt something.
Just my two cents .
 
Old 12-04-2010, 01:50 AM   #7
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.37, OpenSuse 11.3
Posts: 4,373
Blog Entries: 21

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
Quote:
Originally Posted by SilverBack View Post
but then again looking at your programing skills it would be a _lot_ better if you answered someone and we all learnt something.
You are making fun of me ??? I don't have any programming skills!! I am noob trying to learn here and there

Don't be fooled by this "Senior member" title, it doesn't reflect any technical knowledge of the members!

Last edited by Anisha Kaul; 12-04-2010 at 01:52 AM.
 
Old 12-04-2010, 03:41 AM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
Why do you think everyone is making fun of you ?
 
Old 12-04-2010, 03:58 AM   #9
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.37, OpenSuse 11.3
Posts: 4,373
Blog Entries: 21

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
Perhaps I should have added some "winking/laughing" smiles in post 7!
 
Old 12-04-2010, 05:51 AM   #10
wje_lq
Member
 
Registered: Sep 2007
Location: Mariposa
Distribution: Debian lenny, Slackware 12
Posts: 805

Rep: Reputation: 161Reputation: 161
Boys! Boys! Turn out the light and go to sleep!
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
c and math functions davidleroux1 Programming 8 09-14-2006 09:47 PM
Math Softwares trainee Linux - Software 1 11-11-2005 08:03 AM
any math links? speel General 3 11-11-2004 10:29 PM
in need of Math drawing Hjalte Linux - Software 1 10-31-2004 01:53 PM
Problem with math.h loke137 Programming 4 02-12-2004 07:12 AM


All times are GMT -5. The time now is 08:58 AM.

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