fix 64-bit swap_bytes doc examples
This commit is contained in:
parent
c7fca0b4da
commit
c81c711368
12
src/lib.rs
12
src/lib.rs
|
@ -514,9 +514,9 @@ fixed! {
|
|||
fixed! {
|
||||
"A 64-bit fixed-point unsigned",
|
||||
FixedU64(u64, LeEqU64, "64", "63", "62", "61", "60"),
|
||||
8, "0x1234_5678_9ABC_DEF0", "0xF0DE_BC8A_7856_3412",
|
||||
"[0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xF0]",
|
||||
"[0xF0, 0xDE, 0xBC, 0x9A, 0x78, 0x56, 0x34, 0x12]",
|
||||
8, "0x1234_5678_9ABC_DE0F", "0x0FDE_BC9A_7856_3412",
|
||||
"[0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0x0F]",
|
||||
"[0x0F, 0xDE, 0xBC, 0x9A, 0x78, 0x56, 0x34, 0x12]",
|
||||
FixedU64, u64, Unsigned,
|
||||
U64, U63, U62, U61,
|
||||
FixedU128, u128, True
|
||||
|
@ -561,9 +561,9 @@ fixed! {
|
|||
fixed! {
|
||||
"A 64-bit fixed-point signed",
|
||||
FixedI64(i64, LeEqU64, "64", "63", "62", "61", "60"),
|
||||
8, "0x1234_5678_9ABC_DEF0", "0xF0DE_BC8A_7856_3412",
|
||||
"[0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xF0]",
|
||||
"[0xF0, 0xDE, 0xBC, 0x9A, 0x78, 0x56, 0x34, 0x12]",
|
||||
8, "0x1234_5678_9ABC_DE0F", "0x0FDE_BC9A_7856_3412",
|
||||
"[0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0x0F]",
|
||||
"[0x0F, 0xDE, 0xBC, 0x9A, 0x78, 0x56, 0x34, 0x12]",
|
||||
FixedU64, u64, Signed,
|
||||
U63, U62, U61, U60,
|
||||
FixedI128, i128, True
|
||||
|
|
Loading…
Reference in New Issue