LinuxQuestions.org
Help answer threads with 0 replies.
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 07-17-2010, 06:33 AM   #1
Dipak4ever
LQ Newbie
 
Registered: Feb 2010
Location: Ahmedabad,Gujarat,INDIA
Posts: 2

Rep: Reputation: 0
see implementation or definition


how can i see the implementation of any C library function?

its means i can see the math.h(/usr/include/math.h) file that contains declaration of any function like sqer(),sin() etc. but i want to see implementation or definition of that sqrt(),sin() etc. functions.



thanks for help
TC
 
Old 07-17-2010, 07:03 AM   #2
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
You can find the source code for the GNU C Library under ftp://ftp.gnu.org/gnu/glibc
 
Old 07-17-2010, 09:54 AM   #3
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by Dipak4ever View Post
how can i see the implementation of any C library function?

its means i can see the math.h(/usr/include/math.h) file that contains declaration of any function like sqer(),sin() etc. but i want to see implementation or definition of that sqrt(),sin() etc. functions.



thanks for help
TC
You've been given a correct pointer to the source code; modern x86 CPUs implement in HW 'sin', 'cos', 'sqrt'.

Last edited by Sergei Steshenko; 07-18-2010 at 12:32 PM.
 
Old 07-18-2010, 12:28 PM   #4
Dipak4ever
LQ Newbie
 
Registered: Feb 2010
Location: Ahmedabad,Gujarat,INDIA
Posts: 2

Original Poster
Rep: Reputation: 0
thanks irmin

thanks Sergei Steshenko

you both are give me a solution

thanks a lot to you both.......

Take CARE

Last edited by Dipak4ever; 07-26-2010 at 05:19 AM.
 
  


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
How to know definition is present or not? Pramoda.M.A Linux - Software 5 05-28-2009 06:01 AM
multiple definition of lrios Programming 4 04-27-2008 10:19 PM
Where is the definition of Jiffy? Reekkor Linux - General 2 04-26-2007 07:14 AM
Need a Definition dudeman41465 Linux - Software 2 11-07-2005 05:07 AM
multiple definition ? lackluster Linux - Software 1 11-27-2003 05:29 PM

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

All times are GMT -5. The time now is 12:37 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