Skip to content

Commit

Permalink
Merge pull request #442 from oguzutku1745/update-operators-square-root
Browse files Browse the repository at this point in the history
Updated square_root
  • Loading branch information
d0cd authored Feb 16, 2025
2 parents fb58bb5 + 8e64882 commit 427bfab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/leo/04_operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ let a: field = 1field.square_root(); // 1field

#### Description

Computes the square root of the input, storing the result in `destination`.
Computes the square root of the input, storing the result in `destination`. If the input is a quadratic residue, the function returns the `smaller` of the two possible roots based on modular ordering. If the input is not a quadratic residue, execution halts.

#### Supported Types

Expand Down

0 comments on commit 427bfab

Please sign in to comment.