Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
zkevm-circuits
zkevm-circuits
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • zkp
  • zkevm-circuitszkevm-circuits
  • Wiki
    • Zkevm docs
  • 10 public

10 public · Changes

Page history
chore: modify zkevm-docs/10-public authored Jun 04, 2024 by qingyun Ma's avatar qingyun Ma
Show whitespace changes
Inline Side-by-side
Showing with 4 additions and 1 deletion
+4 -1
  • zkevm-docs/10-public.markdown zkevm-docs/10-public.markdown +4 -1
  • No files found.
zkevm-docs/10-public.markdown
View page @ 6b864d94
...@@ -283,7 +283,7 @@ Hash: `Column<Advice>`类型,只有在length-1和length两行有值,分别 ...@@ -283,7 +283,7 @@ Hash: `Column<Advice>`类型,只有在length-1和length两行有值,分别
每一个原始值被展开为了16行u8 每一个原始值被展开为了16行u8
对于u8的来说,当tag_cur != nil && 当前行不是第一行,则有 对于u8的来说,当tag_cur != nil && 当前行不是第一行,以value0为例,则有
```rust ```rust
let v1 = value0_u8.Rotation(-1); let v1 = value0_u8.Rotation(-1);
...@@ -303,6 +303,9 @@ Hash: `Column<Advice>`类型,只有在length-1和length两行有值,分别 ...@@ -303,6 +303,9 @@ Hash: `Column<Advice>`类型,只有在length-1和length两行有值,分别
let v15 = value0_u8.Rotation(-15) * pow_of_two::<F>(112)); let v15 = value0_u8.Rotation(-15) * pow_of_two::<F>(112));
let v16 = value0_u8.Rotation(-16) * pow_of_two::<F>(120)); let v16 = value0_u8.Rotation(-16) * pow_of_two::<F>(120));
let v_final = v16+v15+v14+v13+...+v3+v2+v1; let v_final = v16+v15+v14+v13+...+v3+v2+v1;
```
```rust
let v_original = value0.Rotation(-16) let v_original = value0.Rotation(-16)
``` ```
......
Clone repository
  • basics
    • evm
    • halo2
  • code notes
    • binary_number_with_real_selector
    • how to use macro
    • simple_lt
    • simple_lt_word
  • Home
  • image
  • zkevm docs
    • 1 introduction
    • 10 public
    • 11 fixed
    • 12 exp
    • 13 keccak
    • 14 comparisons
    • 15 differences
View All Pages

Copyright © 2024 ChainWeaver Org. All Rights Reserved. 版权所有。

京ICP备2023035722号-3

京公网安备 11010802044225号