プログラミング言語において,初めから組込まれている関数.
FORTRANでは,sin(x):xの正弦をとる,cos(x):xの余弦をとる,tan(x):xの正接をとる,log(x):xの自然対数をとる,exp(x):xの指数関数を与える,int(x):xの整数部分を与える,abs(x):xの絶対値をとる,のような組込み関数が用意されており,数値計算プログラムが楽に組めるようになっている.
数値関数だけではなく,他の文字関数や論理関数などが,当然ながら,組込み関数として準備されている.また,逆に組込み関数には,プログラム作成上で必要最低限のものが用意されなければならない.組込み関数で準備されていない関数は,ユーザ(利用者)が定義することによって実現できる.
出典:Wikipedia
出典:『Wikipedia』 (2011/04/05 06:51 UTC 版)
In compiler theory, an intrinsic function is a function available for use in a given language whose implementation is handled specially by the compiler. Typically, it substitutes a sequence of automatically generated instructions for the original function call, similar to an inline function. Unlike an inline function though, the compiler has an intimate knowledge of the intrinsic function and can therefore better integrate it and optimize it for the situation. This is also called builtin function in many languages.