EasyManua.ls Logo

Casio FX-890P User Manual

Casio FX-890P
126 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 #110 background imageLoading...
Page #110 background image
110
The following table shows the precedence of associativity of the C operators.
Precedence
Operators
Associativity
High
( ), [ ]
Left to right
Unary
!, ~, ++, --, -, (type), *, &, sizeof
Right to left
Multiplication,
division
*, /, %
Left to right
Addition,
subtraction
+, -
Left to right
Shift
<<, >>
Left to right
Relational
>, <, >=, <=
Left to right
Equality
==, !=
Left to right
Bit AND
&
Left to right
Bit XOR
^
Left to right
Bit OR
|
Left to right
Logical AND
&&
Left to right
Logical OR
||
Left to right
Conditional
?:
Right to left
Assignment
=, +=, -=, *=, /=, <<=, >>=, &=, ^=, |=
Right to left
Low
Order
,
Left to right
Note: Order of precedence is complicated. It is a good practice to use parenthesis
wherever the intention of the statement can be confusing for someone reading the
program, if not for the interpreter.
6.2.1 Cast operator
Data types are ranked as follows, with rank increasing from left to right:
Char < int < long < float < double …
In expressions with mixed data types, C will first convert all data to the same type as
that of the highest ranked data included in the expression, and then perform the
calculation. This is called implicit type conversion or type coercion.
This can become very complicated when unsigned types are involved. At the big
difference of BASIC that allows for one numeric type only, programming in C forces
to think carefully about minimum and maximum values that could occur, in order to
select the right data type and avoid unexpected results.

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Casio FX-890P and is the answer not in the manual?

Casio FX-890P Specifications

General IconGeneral
BrandCasio
ModelFX-890P
CategoryDesktop
LanguageEnglish

Summary

Unit Configuration

Operational Functions

Details the primary keys and their functions, including power, shift, and numeric keys.

Keyboard Layout

Describes the arrangement of keys and how to access different functions.

Power and System Features

Power Supply and Battery Replacement

Provides instructions for replacing the calculator's batteries.

Fundamental Operation Modes

CAL Mode

Describes the primary calculation mode active upon power-on.

Formula Storage Function

Explains how to store and recall mathematical formulas for repeated calculations.

Programming Modes

Introduces BASIC, C, CASL, and Assembler modes for programming.

Calculation Functions

Manual Calculation Input and Correction

Guides on entering and correcting arithmetic and function calculations.

BASIC Programming

Features of BASIC

Highlights the advantages and capabilities of the BASIC language.

BASIC Program Input

Provides steps for entering and preparing BASIC programs.

BASIC Program Execution

Details how to run BASIC programs and handle execution errors.

BASIC Variables and Commands

Variables

Explains numeric, string, and array variables in BASIC.

BASIC Command Reference

A comprehensive reference for BASIC commands and functions.

BASIC Command Reference Details

Mathematical Functions

Reference for ABS, ACS, ANGLE, COS, SIN, SQR, TAN, etc.

BASIC String and Graphical Functions

C Programming Introduction

Learning C with Pocket Computer

Guidance on using the pocket computer as a C learning tool.

Meet the Casio C Interpreter

Introduces the C interpreter and its operation compared to compilers.

C Program Input Procedures

Using the C Editor

Details on creating and editing C source code.

C Program Execution

C Programming Essentials

Variable Types and Operations

Covers C data types (char, int, float, double) and assignments.

Selection Statements

Explains the 'if' and 'if-else' statements for conditional logic.

C Control Flow and Functions

Using Loops

Details 'while', 'do-while', and 'for' loops for repetitive execution.

Defining Functions

Explains how to create and use custom functions in C.

C Constants, Variables, and Operators

Constants and Variables

Covers variable scope, types, and storage.

C Operators and Command Reference

Operators

Lists and explains C operators and their precedence.

C Command Reference

Reference for C commands like RUN, EDIT, TRON, TROFF.

C Command Reference Details

String Functions

Reference for strcat, strchr, strcmp, strcpy, strlen.

Related product manuals