795 B
795 B
State
- Core engine:
src/rpn-calculator.js - Reference demo:
samples/calc-02/(portrait-first HP48GX layout, compact mode/constants popups) - Important UI behavior: mode button shows the current angle mode; keyboard focus stays on the hidden input on desktop; clipboard paste is supported
- Public API:
push,pop,clear,swap,remove,edit,isValidIndex,input,command,getOperationsByCategory,getConstants,listConstants,setConstant,removeConstant,hasConstant - Config:
maxSize,base,angleMode,enabledCommands - Commands: arithmetic, stack, trigonometry, constants
piande; arithmetic includesroot; constants can be added or removed dynamically through the core API - Exports: browser
window.RpnCalculator, CommonJSmodule.exports