Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sinf(3) [netbsd man page]

SIN(3)							   BSD Library Functions Manual 						    SIN(3)

NAME
sin, sinf -- sine function LIBRARY
Math Library (libm, -lm) SYNOPSIS
#include <math.h> double sin(double x); float sinf(float x); DESCRIPTION
The sin() function computes the sine of x (measured in radians). A large magnitude argument may yield a result with little or no signifi- cance. RETURN VALUES
The sin() function returns the sine value. SEE ALSO
acos(3), asin(3), atan(3), atan2(3), cos(3), cosh(3), math(3), sinh(3), tan(3), tanh(3) STANDARDS
The sin() function conforms to ANSI X3.159-1989 (``ANSI C89''). BSD
April 19, 1991 BSD

Check Out this Related Man Page

SIN(3)							   BSD Library Functions Manual 						    SIN(3)

NAME
sin -- sine function SYNOPSIS
#include <math.h> double sin(double x); long double sinl(long double x); float sinf(float x); DESCRIPTION
The sin() function computes the sine of x (measured in radians). SPECIAL VALUES
sin(+-0) returns +-0. sin(+-infinity) returns a NaN and raises the "invalid" floating-point exception. VECTOR OPERATIONS
If you need to apply the sin() function to SIMD vectors or arrays, using the following functions provided by the Accelerate.framework may give significantly better performance: #include <Accelerate/Accelerate.h> vFloat vsinf(vFloat x); vFloat vsincosf(vFloat x, vFloat *c); void vvsinf(float *y, const float *x, const int *n); void vvsin(double *y, const double *x, const int *n); void vvsincosf(float *s, float *c, const float *x, const int *n); void vvsincos(double *s, double *c, const double *x, const int *n); SEE ALSO
acos(3), asin(3), atan(3), atan2(3), cos(3), cosh(3), sinh(3), tan(3), tanh(3), math(3) STANDARDS
The sin() function conforms to ISO/IEC 9899:2011. BSD
December 11, 2006 BSD
Man Page

13 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

misinformed??[awk and sed]

I have recently read in a Perl tutorial, that Perl can do anything that awk and/or sed can do and more. In fact it goes on to say that Perl was originally written by a systems admin who felt that he needed a new language to perform his administrative tasks easier and more efficiently. Is this... (6 Replies)
Discussion started by: wavy_lay
6 Replies

2. Programming

about undefined reference for 'sinf'

I m writting code in c using another library(parapin) and making Makefile .but there is a error like undefined reference to `sinf' undefined reference to `ceilf' although i have added math.h library in my code . I tried to run simple programme using math.h and it run.but in making Makefile it... (2 Replies)
Discussion started by: bharat suthar
2 Replies

3. Solaris

sysinfo command not found

Hi, I refer to this treat. I got the same objective, to capture serial number. when I type command sysinfo not found. but my system have 'man -s 2 sysinfo'. How to make sysinfo command work. FYI i'm using Solaris 10 11/06. (1 Reply)
Discussion started by: apip
1 Replies

4. Shell Programming and Scripting

How to FTP file usinf shell script to Mainframes

Hi , Please help me FTP an output file to mainframes using Mainframes. I have no idea how to FTP to mainframes. :( I need to deploy my code by next week. The code is ready but the client's requirement is that i need to ftp all the output file to the mainframes server. I created the dataset... (1 Reply)
Discussion started by: deepthimathew
1 Replies

5. UNIX for Dummies Questions & Answers

Starting Server after losinf usr

Hi I accidentally deleted all the files in the /usr when I should have deleted files in usr1. Ever since I haven't been able to satrt my server which runs on Solaris 9 and SPARC engine. Can anyone help me to start the server and restore the rest of the services? (1 Reply)
Discussion started by: rahmantanko
1 Replies

6. UNIX for Advanced & Expert Users

How to fix the server to show SysInfo

Can someone help me in fixing this issue.. this is the result iam getting now.. ---------------------------------------------- Index of /SysInfo Parent Directory hndspdb1.html hndspdb2.html hndspdb3.html hndspdb4.html hndssdb1.html hndssdb2.html... (1 Reply)
Discussion started by: kjamsheed
1 Replies

7. Shell Programming and Scripting

how to read dbf file in shell script and to convert dbf file usinf shell script

Hi all, I am new to shell scripting. I have dbf file and I need to convert it into csv file. OR, can i read the fields from a .dbf file and OR seprate the records in dbf file and put into .csv or txt. Actually in the .dbf files I am getting , the numbers of fields may vary in very record and... (6 Replies)
Discussion started by: gauara
6 Replies

8. UNIX for Advanced & Expert Users

sysinfo replacement?

What is everyone using as a multi-platform replacement for "sysinfo" (licensing required nowadays)? (3 Replies)
Discussion started by: kickslop
3 Replies

9. UNIX for Advanced & Expert Users

sys/sysinfo.h: No such file or directory --> MACOSX 10.6.4

I need a real help to compile a small program which compiles fine with g++ in Linux machines. However I need to compile-it in my machine with g++. I have this problem and I dont know how to solve it: sys/sysinfo.h: No such file or directory could someone please help me? Thanks (2 Replies)
Discussion started by: c_lady
2 Replies

10. Red Hat

finding CPU count - reading sysinfo output

Hello, sysinfo throws out below 3 CPU counts. Can anyone help me understand what each of these means? CPU Count Socketed is 2 CPU Count Physical is 8 CPU Count Virtual is 16 First one seems obvious. However, I wonder how there can be 8 Physical CPUs, if... (2 Replies)
Discussion started by: hnhegde
2 Replies

11. Shell Programming and Scripting

How to redirect the output when we are usinf EOF in the same line?

need to login 4 systems to check whether the systems are accessible or not using rlogin command,after each login i will exit.After issuing the command rlogin abc if it is not responding i will get a message of "connection timed out" . So i want to automate this task .so i tried like below : EX:... (1 Reply)
Discussion started by: charanarjun
1 Replies

12. Shell Programming and Scripting

How To Redirect The Output When We Are Usinf EOF In The Same Line?

need to login 4 systems to check whether the systems are accessible or not using rlogin command,after each login i will exit.After issuing the command rlogin abc if it is not responding i will get a message of "connection timed out" . So i want to automate this task .so i tried like below: EX: ... (3 Replies)
Discussion started by: kankuro9x
3 Replies

13. Shell Programming and Scripting

Sysinfo output for lvm commands

Hi folks, I have created a sysinfo script to capture the system information on daily basis which run in cron jobs. Whereas, the output saved in the file are getting disapperared after some times.. Mainly for eg: the lvm commands like pvs,lvs, vgs, lvdisplay, pvdisplay.. ... (2 Replies)
Discussion started by: gsiva
2 Replies