EasyManuals Logo
Home>Campbell>Measuring Instruments>CR1000

Campbell CR1000 User Manual

Campbell CR1000
678 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 #483 background imageLoading...
Page #483 background image
Section 10. Troubleshooting
10.5.3.3 Data Types, NAN, and ±INF
NAN and ±INF are presented differently depending on the declared-variable data
type. Further, they are recorded differently depending on the final-memory data
type chosen compounded with the declared-variable data type used as the source
(table Variable and FS Data Types with NAN and ±INF
(p. 483) ). For example,
INF, in a variable declared As LONG, is represented by the integer
2147483648. When that variable is used as the source, the final-memory word
when sampled as UINT2 is stored as 0.
Table 128. Math Expressions and CRBasic Results
Expression CRBasic Expression Result
0 / 0
0 / 0
NAN
(1 / 0) - (1 / 0)
NAN
(–1)
-1 ^ (1 / 0)
NAN
0 •
0 • (-1 • (1 / 0))
NAN
±∞ / ±∞
(1 / 0) / (1 / 0)
NAN
1
1 ^ (1 / 0)
NAN
0 • ∞
0 • (1 / 0)
NAN
x / 0
1 / 0
INF
x / –0
1 / -0
INF
-x / 0
-1 / 0
-INF
-x / –0
-1 / -0
-INF
0
(1 / 0) ^ 0
INF
0
0 ^ (1 / 0)
0
0
0
0 ^ 0
1
483

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Campbell CR1000 and is the answer not in the manual?

Campbell CR1000 Specifications

General IconGeneral
BrandCampbell
ModelCR1000
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals