Skip to content

feat: add log2 builtin#981

Open
sanmaxdev wants to merge 1 commit into
expr-lang:masterfrom
sanmaxdev:feat/log2-builtin
Open

feat: add log2 builtin#981
sanmaxdev wants to merge 1 commit into
expr-lang:masterfrom
sanmaxdev:feat/log2-builtin

Conversation

@sanmaxdev

Copy link
Copy Markdown

Summary

  • add a log2 number function backed by Go's standard math behavior
  • validate numeric arguments and document the new function
  • cover integer, fractional, and invalid inputs

Testing

  • go test ./builtin -run 'TestBuiltin$|TestBuiltin_errors$'
  • go test ./...
  • go vet ./...
  • GOARCH=386 go build
  • git diff --check

Closes #953

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.

log2 builtin

1 participant