Skip to content

Implement sin, cos, tan, sqrt - #184

Merged
certik merged 3 commits into
lcompilers:mainfrom
certik:trig
Feb 28, 2022
Merged

certik merged 3 commits into
lcompilers:mainfrom
certik:trig

Conversation

@certik

@certik certik commented Feb 28, 2022

Copy link
Copy Markdown
Contributor

This interfaces C implementation from src/runtime/impure/lfortran_intrinsics.c.

@certik
certik enabled auto-merge February 28, 2022 06:10
@certik

certik commented Feb 28, 2022 •

Copy link
Copy Markdown
Contributor Author

@Smit-create, we can use this approach to implement all other runtime functions. If you want, go ahead and implement the rest of the trig functions.

@Smit-create

Copy link
Copy Markdown
Collaborator

This looks super good! Thanks.

@Smit-create

Copy link
Copy Markdown
Collaborator

yeah, I'll add the remaining ones soon.

Comment thread src/runtime/math.py Resolved
Comment thread integration_tests/test_math_02.py Resolved
Co-authored-by: Smit Lunagariya <smitlunagariya.mat18@itbhu.ac.in>
@certik
certik merged commit 64adcce into lcompilers:main Feb 28, 2022
@certik
certik deleted the trig branch February 28, 2022 12:20
@certik certik mentioned this pull request Mar 2, 2022
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.

3 participants