Ksp reference Manual



Download 0,99 Mb.
Pdf ko'rish
bet37/187
Sana10.02.2022
Hajmi0,99 Mb.
#441108
1   ...   33   34   35   36   37   38   39   40   ...   187
Bog'liq
KONTAKT 610 KSP Reference Manual

Control Statements
41
KSP Reference Manual


6. ARITHMETIC COMMANDS & OPERATORS
6.1. Basic Operators
Basic operators
The following operators work on both integers and real numbers.
x := y
Assignment (the value of y is assigned to x)
x + y
Addition
x - y
Subtraction
x * y
Multiplication
x / y
Division
-x
Negative value
abs(x)
Absolute value
6.2. Integer Operators & Commands
The following commands and operators can only be performed on integer variables and values.
inc(x)
Increment an expression by 1 (x + 1)
dec(x)
Decrement an expression by 1 (x – 1)
x mod y
Modulo; returns the remainder of a division
e.g. 13 mod 8 returns the value 5
6.3. Real Number Commands
The following commands can only be performed on real numbers.
exp(x)
Exponential function (returns the value of e^x)
log(x)
Logarithmic function
pow(x,y)
Power (returns the value of x^y)
sqrt(x)
Square root

Download 0,99 Mb.

Do'stlaringiz bilan baham:
1   ...   33   34   35   36   37   38   39   40   ...   187




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish