Skip to content

Update stdlib and add builtins for atan2, hypot#782

Merged
johnbartholomew merged 2 commits intogoogle:masterfrom
johnbartholomew:math_builtins
Jan 18, 2025
Merged

Update stdlib and add builtins for atan2, hypot#782
johnbartholomew merged 2 commits intogoogle:masterfrom
johnbartholomew:math_builtins

Conversation

@johnbartholomew
Copy link
Copy Markdown
Collaborator

This brings stdlib up to the latest (unreleased) version, which includes some new functions added in google/jsonnet#1187

Also adds builtins for atan2 and hypot to match the corresponding builtins in the C++ version.

The full stdlib changes can be seen from the changes to std.jsonnet at: google/jsonnet@f45e01d...4487bfb

(That shows all changes to the C++ repo from the previously embedded version to the newly embedded version)

This includes the stdlib additions in
google/jsonnet#1187

Also updates golden files for go-jsonnet tests; the changes
to the goldens are mostly changes to error locations from
the standard library.
@johnbartholomew
Copy link
Copy Markdown
Collaborator Author

Some checks are failing but that looks like unrelated breakage of the bazel build.

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.

1 participant