std::f32::consts

Module std::f32::consts

Basic mathematical constants.

Constants

E

Euler's number (e)

FRAC_1_PI

1/π

FRAC_1_SQRT_2

1/sqrt(2)

FRAC_2_PI

2/π

FRAC_2_SQRT_PI

2/sqrt(π)

FRAC_PI_2

π/2

FRAC_PI_3

π/3

FRAC_PI_4

π/4

FRAC_PI_6

π/6

FRAC_PI_8

π/8

LN_2

ln(2)

LN_10

ln(10)

LOG10_E

log10(e)

LOG2_E

log2(e)

PI

Archimedes' constant (π)

SQRT_2

sqrt(2)

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/f32/consts/index.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部