打桥位lisp_lisp函数
函數(shù)
格式
說明
賦值與求值函數(shù)
setq
(Setq???[??…])賦值函數(shù)
set
(set?)
再賦值函數(shù)
quote
(quote?(表達(dá)式))?或:'(表達(dá)式)
禁止求值函數(shù)
eval
(eval?)
再求值函數(shù)
數(shù)值計(jì)算函數(shù)
+?-??*?/
(+?-?*?/??…)
四則運(yùn)算
1+?1-
(1+?);(1-?)
?加1,或??減
1?的結(jié)果
abs
(abs?)
求的絕對(duì)值。
sqrt
(sqrt?):
求的平方根,其值為實(shí)型數(shù)。
expt
(expt??):
求??的??次方
exp
(exp?):
求e?的次方
log
(log?):
此函數(shù)是EXP?的反函數(shù)
max
(max??…)
求各??中的最大值
min
(min??…)
求各??中的最小值
gcd
(gcd?和):
求和的最大公約數(shù)。
rem
(rem??…)
求??除以??的余數(shù)
sin
(sin?)其單位為弧度
此函數(shù)返回??的正弦值
cos
(cos?)
此函數(shù)返回??的余弦值,
atan
(atan??[?])??(atan??):
該函數(shù)返回??的反正切值,
字符串處理函數(shù)
strcat
(strcat??…)
字符串鏈接函數(shù)
strlen
(strlen?)
求字符串長(zhǎng)度函數(shù)
substr
(substr???[?])
字符串截取子串函數(shù)
strcase
(strcase??[??])
字符串大小寫轉(zhuǎn)換函數(shù)
read
(read?)
字符串轉(zhuǎn)換成原子或表函數(shù)
關(guān)系運(yùn)算函數(shù)
=
(=??…)
等于函數(shù)
/=
(/=??…)
不等于函數(shù)
<
(<??…)
小于函數(shù)
<=
(<=??…)
小于或等于函數(shù)
>
(>??…)
大于函數(shù)
>=
(>=??…)
大于或等于函數(shù)
eq
(eq??)
恒等函數(shù)
equal
(equal???[??])
等值函數(shù)
邏輯運(yùn)算函數(shù)
and
(and??…)
邏輯與函數(shù)
or
(or??…)
邏輯或函數(shù)
not
(not?)
邏輯非函數(shù)
幾何函數(shù)
《新程序員》:云原生和全面數(shù)字化實(shí)踐50位技術(shù)專家共同創(chuàng)作,文字、視頻、音頻交互閱讀總結(jié)
以上是生活随笔為你收集整理的打桥位lisp_lisp函数的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 出问题 初始化ucosiii_STM32
- 下一篇: 单片机定时器精准定时_8051单片机(S