Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PORT]Add abs and sqrt built-in function #3241

Merged
merged 1 commit into from
Jan 29, 2021
Merged

Conversation

Danieladu
Copy link
Contributor

Fixes #3240

Description

Add abs and sqrt prebuilt function.
Example:

abs(3.12134)  -> 3.12134
abs(-3.12134) -> 3.12134
abs(0) -> 0
sqrt(9) -> 3
sqrt(-1)  -> throw error
sqrt(0) ->  0

@Danieladu Danieladu requested review from a team as code owners January 29, 2021 07:08
@coveralls
Copy link

coveralls commented Jan 29, 2021

Pull Request Test Coverage Report for Build 520218437

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.002%) to 84.713%

Totals Coverage Status
Change from base Build 519010468: 0.002%
Covered Lines: 18092
Relevant Lines: 20387

💛 - Coveralls

@joshgummersall joshgummersall merged commit 703aaba into main Jan 29, 2021
@joshgummersall joshgummersall deleted the hond/new-function branch January 29, 2021 16:31
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.

port: [Expression]Add abs and sqrt built- in function (#5119)
3 participants