상수

상수

이름 8개

컴파일할 때 값으로 박히는 리터럴과 discard입니다.

이름마다 붙은 시그니처와 설명은 커밋 26de7be8의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

discard
Discards the current fragment, so nothing is written for it.
PI
The mathematical constant π, inlined as a compile-time f32 literal (approximately 3.14159).
TAU
The mathematical constant 2π (tau), inlined as a compile-time f32 literal (approximately 6.28318).
E
The mathematical constant e, inlined as a compile-time f32 literal (approximately 2.71828).
LN2
The natural logarithm of 2, inlined as a compile-time f32 literal (approximately 0.69315).
LN10
The natural logarithm of 10, inlined as a compile-time f32 literal (approximately 2.30259).
LOG2E
The base-2 logarithm of e, inlined as a compile-time f32 literal (approximately 1.44270).
LOG10E
The base-10 logarithm of e, inlined as a compile-time f32 literal (approximately 0.43429).

이 페이지의 항목은 모두 고정된 커밋의 컴파일러에서 읽어 왔고, 여기서 직접 입력한 것은 없습니다.

이 페이지 편집 문제 보고