LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
  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
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
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
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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: FreeBSD,Debian wheezy
Posts: 811

Rep: Reputation: 179Reputation: 179
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
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
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 Aquarius_Girl; 12-03-2010 at 11:27 PM.
 
Old 12-04-2010, 01:43 AM   #6
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
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
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
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 Aquarius_Girl; 12-04-2010 at 01:52 AM.
 
Old 12-04-2010, 03:41 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Why do you think everyone is making fun of you ?
 
Old 12-04-2010, 03:58 AM   #9
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
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: FreeBSD,Debian wheezy
Posts: 811

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


Reply



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
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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration