Skip to content

ABI: implement exact JSC Math.pow operation #372

Description

@chrisbbreuer

Parent: #134
Related: #140, #163, #164

Implement the shared raw numeric helper declared by pinned Home/Bun jsc.zig and defined as a direct JavaScriptCore operationMathPow call.

Acceptance:

  • Export Bun__JSC__operationMathPow(f64, f64) f64 with the exact C signature.
  • Share one implementation with JavaScript Math.pow so the private ABI and language builtin cannot drift.
  • Match ECMAScript/JSC edge behavior for NaN, infinities, signed zero, negative finite bases, fractional exponents, and odd/even integer exponents.
  • Add focused engine and compiled Home/Bun consumer evidence in Debug and ReleaseSafe.
  • Refresh inventories/docs and parent issue evidence.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions