Commit Graph

8 Commits

Author SHA1 Message Date
Jon Cinque f97a3dc7cf
clippy: Deny integer arithmetic, add allows where needed (#3606) 2022-09-15 13:16:53 +02:00
Ronald Hood Jr 4825298bc9
F32 Normal CDF Instruction and Implementation (#3090)
* F32 Normal CDF Instruction and Implementation

* Linting

* Prop Test and Option Return Removal

* Reverting Change to Cargo.lock
2022-04-20 17:40:52 +02:00
Ronald Hood Jr 5611ad8bd5
Float exponentiation and logarithm instructions - MLH (#2968)
* Float exponentiation and logarithm instructions

* Corrections to instructions and tests

* Revamping Math Instructions

* Changed E Constant and modified compute max

* Formatting and Clippy Linting

* increased log computation allowance

Co-authored-by: Ronald Hood <ronald.hood@yale.edu>
2022-04-13 14:39:14 +02:00
Michał Piotrowski 0a98473f0a
libraries tests p1 (#2697)
* libraries tests p1

* fix cs

* libraries tests p1 - address review comments

* fix cs

* libraries tests p1 - address review comments - revert a change because of clippy

* libraries tests p1 - apply cleanups from joncinque
2022-01-07 16:26:40 +01:00
Jack May df994bf426
Fix float measurements (#1613)
* Fix float measurements

* add u64 divide
2021-04-21 00:33:49 +00:00
Jack May 7567b41bce
Float perf feedback (#1428) 2021-03-10 22:04:30 +00:00
Jack May d87dc5be11
Add bpf float performance tests (#1425) 2021-03-10 01:40:39 +00:00
Jon Cinque beb4aa7e7f
spl-math: Add separate package to test instruction usage (#1205)
* Refactor to use spl-math

* Run cargo fmt

* Fixup fuzz

* Add spl math program

* Add u64-based approximation

* Cleanup

* Downgrade solana sdk for CI

* Move U256 impl to stable curve

* Remove generic newtonian, use traits

* Cargo fmt

* Move math/program -> libraries/math

* Revert Cargo.lock changes

* Add u128 instruction count tests

* cargo fmt
2021-02-10 17:40:54 +01:00