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

feat(minato): impl some math functions #64

Merged
merged 6 commits into from
Dec 16, 2023
Merged

Conversation

Hieuzest
Copy link
Contributor

impl:

$.mod/$.module
$.abs
$.floor
$.ceil
$.round
$.exp
$.ln
$.pow/$.power
$.random

fix(postgres): transform bigint back to js number

close #20
close #24

Copy link

codecov bot commented Dec 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dab74b1) 98.12% compared to head (2fc44a9) 98.18%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
+ Coverage   98.12%   98.18%   +0.05%     
==========================================
  Files          27       27              
  Lines        6993     7098     +105     
  Branches     1793     1836      +43     
==========================================
+ Hits         6862     6969     +107     
+ Misses        131      129       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

packages/core/src/eval.ts Outdated Show resolved Hide resolved
@shigma shigma merged commit 2e5d9af into cordiverse:master Dec 16, 2023
26 checks passed
@Hieuzest Hieuzest deleted the dev-math branch December 17, 2023 14:01
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.

Feature: 支持 order by random
2 participants