Skip to content

Add sinus and cosinus for SD59x18#230

Open
Amxx wants to merge 5 commits into
PaulRBerg:mainfrom
Amxx:feature/cos-sin
Open

Add sinus and cosinus for SD59x18#230
Amxx wants to merge 5 commits into
PaulRBerg:mainfrom
Amxx:feature/cos-sin

Conversation

@Amxx

@Amxx Amxx commented May 9, 2024

Copy link
Copy Markdown
Contributor

(work in progress)

@Amxx Amxx force-pushed the feature/cos-sin branch from 84b0de8 to eb9b811 Compare May 9, 2024 16:30
@Amxx

Amxx commented May 9, 2024

Copy link
Copy Markdown
Contributor Author

Note: https://github.com/mds1/solidity-trigonometry/blob/main/src/Trigonometry.sol should be considered. I don't understand the underlying logic, but if translated to signed integers, it might be cheaper / more accurate ?

@PaulRBerg

Copy link
Copy Markdown
Owner

Hi @Amxx, thank you for your PR. I just wanted to say that it might take a few weeks (or more) until I'm able to review this.

The lint job appears to be failing. Have you run forge fmt locally? Using VSCode should automatically do this for you.

@Amxx

Amxx commented May 20, 2024

Copy link
Copy Markdown
Contributor Author

@PaulRBerg Sure, not rush. There may be otehr implementations that deserves exploring anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants