You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge fp into feat/math, or create a main branch by combining both?
Feel free to edit the list if you want to add a task or have completed one.
ToDo's added by Jens:
Migrate F64 to math function implementation by Luca (branch feat/math)
Generate test files similar to F64 testing for math functions
It seems that Berkeley TestFloat doesn't support generating test cases for complex functions. Are there any other libraries?
Sanity Check correctness of math function implementation & Clean up current simple migration (NOTE - Testing now checks that ULP <1 - currently this is not the case for all ranges of float values. Better approximation needed, increasing the degree of polynomial in atan or number of round for taylore series in sin is insufficient as it adds too many constraints)
Check Optimization sqrt - Currently Newton Rhapson, nth Root might be better (shifting/add instead of division) - @winderica will integrate his implementation with supercedes the Newton Rhapson one
Revise Sin implementation with Taylor approximation -> Add F32 support @Luca1011
Replace Sin with Spline approach --> lookup range of value, have low degree polynomial approximate the small range
Migrate F64 implementation & new Math to zkLocation circuit
Modularize float implementation to also support F32
Add Exponent Bitwidth / Precision in F64 / F32 struct as a constant?
The text was updated successfully, but these errors were encountered:
Have to double-check if the implementation of calculateR in the zkLocation circuit is correct.
Currently, the comment reads that $\arccos(x) = \arctan(\frac{\sqrt{(1-x)^2}}{x})$, however the correct relation is $\arccos(x) = \arctan(\frac{\sqrt{1-x^2}}{x})$.
I added the correct derivation in the paper, note the reasoning here:
fp
intofeat/math
, or create amain
branch by combining both?Feel free to edit the list if you want to add a task or have completed one.
ToDo's added by Jens:
The text was updated successfully, but these errors were encountered: