niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » FreeBSD
complex math: "carg" and "cabs"
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Luciano
*nix forums beginner


Joined: 29 Apr 2005
Posts: 8

PostPosted: Tue Feb 08, 2005 10:39 am    Post subject: complex math: "carg" and "cabs" Reply with quote

Hi,

I would like to know if it is possible to use
complex function like
"carg" and "cabs"
inside a C program under FreeBSD. (4.X, 5.X ?)

I would like to point out:
1) under Linux works pretty smooth Smile)
2) the local *BSD guru tried with
2.1) "complex.h" and "tgmath.h"
2.2) -lm -lc
with no success.

Thanks
Luciano
Back to top
Lowell Gilbert
*nix forums Guru Wannabe


Joined: 20 Feb 2005
Posts: 280

PostPosted: Tue Feb 08, 2005 3:36 pm    Post subject: Re: complex math: "carg" and "cabs" Reply with quote

On 5-STABLE, cabs() is supported exactly the way the C 1999 standard
says it should be. carg() seems to have some macro support, but I
can't find the actual implementation.

The project roadmaps have information on progress in standards
compliance.


--
Lowell Gilbert, embedded/networking software engineer
http://be-well.ilk.org/~lowell/
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 11:15 am | All times are GMT
navigation Forum index » *nix » BSD » FreeBSD
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts SOAP::Lite and complex client call parameter gelbeiche Perl 0 Thu Jul 20, 2006 7:37 pm
No new posts Accessing structure elements using pointer math - padding... quantumred@gmail.com C 12 Wed Jul 19, 2006 3:11 am
No new posts math symbols not displaying Andrew Dabrowski python 1 Sat Jul 15, 2006 1:12 am
No new posts AIX testers wanted for Math::Random Geoffrey Rommel modules 0 Tue Jul 11, 2006 5:55 pm
No new posts complex update utefan001@gmail.com Oracle 7 Tue Jul 11, 2006 5:03 am

Hotels in Krakow | Web Advertising | Advertising | Myspace Layouts | Dutch Bodybuilding Forums
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0918s ][ Queries: 16 (0.0277s) ][ GZIP on - Debug on ]