EasyManuals Logo

Xinje XD5 User Manual

Xinje XD5
389 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #306 background imageLoading...
Page #306 background image
305
User can call it in the ladder chart editing window at any time.
8-8Function Table
The default function library
Constant
Data
Description
_LOG2
(double)0.693147180559945309417232121458
Logarithm of 2
_LOG10
(double)2.3025850929940459010936137929093
Logarithm of 10
_SQRT2
(double)1.41421356237309504880168872421
Radical of 2
_PI
(double)3.1415926535897932384626433832795
PI
_PIP2
(double)1.57079632679489661923132169163975
PI/2
_PIP2x3
(double)4.71238898038468985769396507491925
PI*3/2
String Function
Description
void * memchr(const void *s, int c, size_t n);
Return the first c position among
n words before s position
int memcmp(const void *s1, const void *s2, size_t n);
Compare the first n words of
position s1 and s2
void * memcpy(void *s1, const void *s2, size_t n);
Copy n words from position s2 to
s1 and return s1
void * memset(void *s, int c, size_t n);
Replace the n words start from s
position with word c, and return to
position s
char * strcat(char *s1, const char *s2);
Connect string ct behind string s
char * strchr(const char *s, int c);
Return the first word c position in
string s
int strcmp(const char *s1, const char *s2);
Compare string s1 and s2
char * strcpy(char *s1, const char *s2);
Copy string s1 to string s2
Double-precision math
function
Single-precision math
function
Description
double acos(double x);
float acosf(float x);
Inverse cosine function
double asin(double x);
float asinf(float x);
Inverse sine function
double atan(double x);
float atanf(float x);
Inverse tangent function
double atan2(double y,
double x);
float atan2f(float y, float
x);
Inverse tangent value of
parameter (y/x)
double ceil(double x);
float ceilf(float x);
Return the smallest double
integer which is greater or
equal with parameter x

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Xinje XD5 and is the answer not in the manual?

Xinje XD5 Specifications

General IconGeneral
BrandXinje
ModelXD5
CategoryController
LanguageEnglish

Related product manuals