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

build-in: add sin,cos,tan build-in function #2830

Closed
wants to merge 3 commits into from

Conversation

willxm
Copy link

@willxm willxm commented Mar 15, 2017

No description provided.

@CLAassistant
Copy link

CLAassistant commented Mar 15, 2017

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

if err != nil {
return d, errors.Trace(err)
}
d.SetFloat64(math.Cos(x)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function is COT, not COS.

}

for _, test := range testCase {
fc := funcs[ast.Sqrt]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will get a function of SQRT.

@willxm
Copy link
Author

willxm commented Mar 15, 2017 via email

@ngaut
Copy link
Member

ngaut commented Mar 15, 2017

Please fix CI.

@XuHuaiyu
Copy link
Contributor

@willxm
If possible, please check and register the builtin function you decide to implement in issue to let others know, thank you!

@coocood coocood added the contribution This PR is from a community contributor. label Mar 20, 2017
@coocood
Copy link
Member

coocood commented Mar 22, 2017

@willxm
Close this PR for now, will reopen if you have any update.

@coocood coocood closed this Mar 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution This PR is from a community contributor.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants