How did you compiled your program?
The standard C library math functions are not included in libc; instead, they're in a separate library, libm, which you need to specify explicitly. To compile and link your program the command should be:
Regards
Dear all,
I am totally despaired and puzzled.
Using Filezilla under Windows under the same network as our Linux servers is working. Using FTP command-line client under any of our Linux debian servers is not working ! I tried with different FTP servers -> same problem !
All commands are... (12 Replies)
I am trying to use awk to find the trigonometric functions (in degrees) I found this on:
Trigonometric functions - Rosetta Code
print " sin(-30) =", sin(-30 * degrees)
which says it has an output of:
sin(-30) = -0.5
But when I use it I get the wrong answer:
awk '{print " ... (2 Replies)
Hi,
My code uses try_eval block to do some code execution. This piece of code does not work on RHEL 5.4. The program just hangs at the try_eval block and does not throw any errors either. The same program however works in other Linux boxes that we have.
I have written a simple program that... (0 Replies)
HI All,
I am facing the problem with rmail ...
Actually my server is linux environment Redhot server.
To send a mail which command I have to use it . I want subject and I want to Include CC also
And body of the mail also there . But If I use rmail command it is not taking any options to... (1 Reply)
Hi
I tried running the code
scrname=`whence $0 | sed -e 's/\.\///g'`
where $0 is substituted by cm_dsjobrun.sh
in unix env then the value it returns me is
SCRNAME=/data/ds/dpr_ebicm_uat/etl/cm3_0/scripts/shell/cm_dsjobrun.sh
whereas i ran the same code on linux env
The value... (9 Replies)
Hi All
I have fired a command in linux
table=`echo ${file_name} | awk '{FS="/"; print $NF}' | awk '{FS="."; print $1}'`
where file_name has
/data/ds/dpr_ebicm_uat/backfill/temp/etl_app_info.csv
/data/ds/dpr_ebicm_uat/backfill/temp/etl_app_jobs.csv ... (10 Replies)
I am using Linux RHEL5 64 bit and installed oracle 11g.
I want to check ODBC connection , i had modified odbc.ini file
when i use this command -isql
I am getting following error .
bash: isql: command not found
Kindly help (5 Replies)
Hi
I am working on linux machine and swap command is not working Linux Machine
On Solaris machine it is working fine:
uname -a
SunOS rgsm01 5.9 Generic_118558-03 sun4u sparc SUNW,Sun-Fire-V440
swap -s
total: 6596320k bytes allocated + 1035968k reserved = 7632288k used, 38893408k available
... (5 Replies)
I have a script .sh with a curl command in it:
curl --digest "http://xxxxxxx.xxx/mail.php?email=xxxx@xxx.xx";
from terminal this works good :
./script.sh //(mail arrives in my box)
from php this works good:
shell_exec('./phpsc.sh'); // (mail arrives in my box)
from terminal this... (13 Replies)
Hello,
I am on a Mac and trying to clean up some monthly files with a very simple SED:
sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt
(from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file)
then output to output.txt
Even when I try... (2 Replies)
Discussion started by: verbatim
2 Replies
LEARN ABOUT HPUX
atanf
atan(3M)atan(3M)NAME
atan(), atanf(), atanl(), atanw(), atanq() - arctangent functions
SYNOPSIS
HP Integrity Server Only
DESCRIPTION
returns the arctangent of x,
is a version of it takes a argument and returns a result.
Integrity Server Only
is a version of it takes a argument and returns a result.
is an version of it takes an argument and returns an result.
is equivalent to on HP-UX systems.
USAGE
To use these functions compile either with the default option or with the and the options.
To use (for Integrity servers) or compile also with
To use any of these functions, make sure your program includes and link in the math library by specifying on the compiler or linker command
line. For more information, see the at the following site:
PA-RISC Only
Millicode versions of the and functions are available. Millicode versions of math library functions are usually faster than their counter-
parts in the standard library. To use these versions, compile your program with the or the optimization option.
For special cases, the millicode versions return the same values as their standard library counterparts (see the section).
RETURN VALUE
If x
If x is NaN, returns NaN.
Whether raises the inexact exception is unspecified.
ERRORS
No errors are defined.
SEE ALSO acos(3M), asin(3M), atand(3M), atan2(3M), catan(3M), cos(3M), sin(3M), tan(3M), math(5).
STANDARDS CONFORMANCE
: SVID3, XPG4.2, ANSI C, ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'')
: ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'')
atan(3M)