Skip to content

freref/gaussian-cdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gaussian CDF

Solidity Zelen & Severo approximation of guassian CDF implementation.

Usage

Build

forge build

Test

Tests use test_cases.txt. You can use this file as is or generate new test cases by running python3 generate_tests.py after having installed the necessary dependencies in requirements.txt. I use a similar structure as marcuspang.

forge test -vv

Output

Description Threshold
1e8 Fixed Point Error Threshold 10000000000
Max Error 16450261803
Average Error 1646253

About

Solidity Zelen & Severo approximation of guassian CDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors