Docs.rs
pipeline-script-0.3.12
pipeline-script 0.3.12
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
yanguiyuan
Dependencies
ariadne ^0.5.1
normal
lazy_static ^1.5.0
normal
llvm-sys ^181.1.0
normal
logos ^0.15.0
normal
regex ^1.10.2
normal
slotmap ^1.0.7
normal
Versions
11.44%
of the crate is documented
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
pipeline_
script
0.3.12
factorial
Sections
参数
返回值
In pipeline_
script::
core::
math
pipeline_script
::
core
::
math
Function
factorial
Copy item path
Source
pub extern "C" fn factorial(n:
i64
) ->
i64
Expand description
计算阶乘
§
参数
n
- 输入的非负整数
§
返回值
返回n的阶乘,如果n < 0则返回1