text stringlengths 0 99.6k |
|---|
float atan(x) |
float x; |
float atan2(x) |
float x; |
Sin, cos and tan return the sine, |
cosine, and tangent of x |
respectively. X is measured in |
radians. |
Asin, acos and atan return the |
arcsine, arccos and arctangent of x |
respectively. |
Atan2 returns the arctangent of x/y. |
-------------------------------------- |
sinh,cosh,tanh - hyperbolic functions |
#include <math.h> |
float sinh(x) |
float x; |
float cosh(x) |
float x; |
float tanh(x) |
float x; |
Sinh, cosh and tanh return the |
hyperbolic sine, cosine and tangent |
of x respectively. |
-------------------------------------- |
strcat,strncat,strcmp,strncmp,strcpy, |
strncpy,strlen,index,rindex |
- string functions |
#include <strings.h> |
char *strcat(s1,s2) |
char *s1,*s2; |
char *strncat(s1,s2,n) |
char *s1,*s2; |
int n; |
strcmp(s1,s2) |
char *s1,*s2; |
strncmp(s1,s2,n) |
char *s1,*s2; |
int n; |
char *strcpy(s1,s2) |
char *s1,*s2; |
char *strncpy(s1,s2,n) |
char *s1,*s2; |
int n; |
strlen(s) |
char *s; |
char *index(s,c) |
char *s, c; |
char *rindex(s,c) |
char *s, c; |
All of the following functions |
operate on character strings |
terminated with zero. |
Strcat and strncat concatenate the |
strings s1 and s2 and leave the |
result in s1. Strncat copies at most |
n characters from s2. Both functions |
return s1. |
Strcmp and strncmp compare the |
strings s1 and s2 and return an |
integer less than, equal to, or |
greater than zero as s1 is lexically |
less than, equal to, or greater than |
s2. Strncmp compares at most n |
characters. |
Strcpy and strncpy copies s2 into s1. |
Strncpy copies at most n characters. |
Both functions return s1. |
Strlen returns the number of non-zero |
characters in the string s. |
Index/rindex returns a pointer to the |
leftmost/rightmost occurence of the |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.