Skip to content

[TS] Execute modeled Number exponentiation (#428) - #454

Draft
CaelmBleidd wants to merge 7 commits into
mainfrom
caelmbleidd/ts-428-exponentiation
Draft

CaelmBleidd wants to merge 7 commits into
mainfrom
caelmbleidd/ts-428-exponentiation

Conversation

@CaelmBleidd

@CaelmBleidd CaelmBleidd commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Number exponentiation supports fixed exponents 0, 1, 2 and 0.5, plus exact discrete special cases ±0 ** -1 and -1 ** ±Infinity. Square root preserves JavaScript's signed-zero and infinity behavior. Other concrete powers, symbolic exponents and unsupported operand conversions remain explicit unsupported outcomes.

Related to #428. This PR stays draft: its bounded model does not implement general JavaScript exponentiation. JVM Math.pow may differ from Node by one ULP, so unsupported cases do not use it as a guessed result.

Current head: 615bcb7ab786567d0d5faf39911574a6dd1e71f1, based on current main 2c4f17c4c9fc0d70057e374ec462600a0d9c4bbf. The original seven-commit change is preserved, including ordinary source regressions through discoverProperties, unsupported outcome checks and shared Node witness replay.

Validation on the committed published JacoDB pin ddb127d9ef, with no composite substitution: Exponentiation 8/8 passed; Division, Remainder and Neg 10 passed with 3 existing skips. Both main/test Detekt reported zero findings and git diff --check passed. This is focused local validation; new-head GitHub CI and a decision to accept the bounded model remain review gates.

@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-428-exponentiation branch from 27277ad to 8f91900 Compare October 2, 2026 22:21
@CaelmBleidd
CaelmBleidd changed the base branch from main to caelmbleidd/ts-422-string-value-equality October 2, 2026 22:21
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-422-string-value-equality branch from 7927e93 to 127ecb5 Compare October 3, 2026 05:21
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-428-exponentiation branch from e887b32 to de035f9 Compare October 3, 2026 05:28
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-422-string-value-equality branch from e5527a3 to 7217c2a Compare October 4, 2026 19:51
Base automatically changed from caelmbleidd/ts-422-string-value-equality to main October 5, 2026 12:37
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-428-exponentiation branch from a76c055 to 615bcb7 Compare October 7, 2026 21:47
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