Skip to content

⚖️ Mathematics | Square Root Scaling Protections for Exponential Smoothing #446

Description

@Sadeequ

Description

Computing fractional exponential decay trends using standard math tools can cause overflow bugs on the Soroban host engine.

Technical Requirements

  • Write an optimized integer-based square root helper function inside src/math.rs.

  • Execute all scaling calculations using safe binary-shifting operations to maintain perfect mathematical precision.

If you find this implementation useful, please star the project and leave a review! 😊

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions