Docs.rs
kaguya_rs-0.1.5
kaguya_rs 0.1.5
Docs.rs crate page
Apache-2.0
Links
Homepage
Documentation
Repository
Crates.io
Source
Owners
fgoinai
Dependencies
Versions
Platform
i686-apple-darwin
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
kaguya_rs
Macro
kaguya_rs
::
recip
[
−
]
[src]
macro_rules
!
recip
{ (
>
$
t
:
ty
)
=>
{ ... }; (
$
x
:
expr
)
=>
{ ... }; }
1/x
Syntax:
recip!(>type) :: T -> T
recip!(x) = 1/x
Panics
if x == 0