SPB Git

Repository Public MIT

12 entries at the root
History

Latest commit docs: record README rendering verification on the forge 77b6750

NameLast commitUpdated
App feat: complete the eight environments — Graph, Math, Statistics — and integrate
Benchmarks perf: add engine benchmark harness; slider fast path and linear dependency closure in the...
docs release: TestFlight build 1.0.0 (1) uploaded and processed; repository published
Packages feat: complete the eight environments — Graph, Math, Statistics — and integrate
Scripts docs: legendary README, release report, privacy and accessibility reports; release: prepare...
Tests feat: add financial and unit engines, ORIX design system, calculator environments and app shell
UITests feat: complete the eight environments — Graph, Math, Statistics — and integrate
.gitignore feat: add financial and unit engines, ORIX design system, calculator environments and app shell
LICENSE release: TestFlight build 1.0.0 (1) uploaded and processed; repository published
project.yml feat: add Financial and Convert environments
README.md release: TestFlight build 1.0.0 (1) uploaded and processed; repository published
RELEASE-REPORT.md docs: record README rendering verification on the forge
README.md View source
ORIX Calc logo



ORIX Calc icon

# ORIX Calc

One Calculator. Infinite Possibilities.

Standard · Scientific · Financial · Graph · Math · Statistics · Convert · Workspace —
eight environments on one exact calculation engine, fully on device, for iPhone and iPad.

Author: Simon-Pierre Boucher

iOS iPadOS Version Status author

Swift SwiftUI SwiftData Swift Charts Accelerate Vision App Intents BigInt Swift Numerics

Arithmetic Math Graphing Statistics Finance Mortgages Units

commits last commit activity language languages size branches tags clones

Offline Privacy Accounts Ads

Swift files Lines Packages Tests Docs

Bundle Team Xcode TestFlight App Store Connect

Every badge above states something that can be checked in this repository: counts are taken from git ls-files, test totals from Scripts/test-all.sh, versions from project.yml and the package manifests. Release and TestFlight status is tracked in RELEASE-REPORT.md.


# Table of contents

  1. Product overview · 2. ORIX philosophy · 3. Application preview
  2. Standard · 5. Scientific · 6. Financial · 7. Graph · 8. Math · 9. Statistics · 10. Convert · 11. Workspace
  3. Signature features · 13. Numerical architecture · 14. Precision strategy · 15. Technology stack · 16. Project structure
  4. Installation · 18. Build instructions · 19. Testing · 20. Mathematical validation · 21. Performance
  5. Privacy · 23. Accessibility · 24. Localization · 25. Roadmap · 26. Release status · 27. Known limitations · 28. ORIX ecosystem · 29. License · Author

# 1. Product overview

ORIX Calc replaces a drawer of calculators with one native app. Typing 25 × 4 is as direct as on the built-in calculator; the same engine also solves a Canadian mortgage, finds every IRR of an irregular cash flow, plots tan x without drawing lines through its asymptotes, integrates x·eˣ symbolically, runs a t-test, converts 331 units exactly, and keeps a notebook whose results update when you move a slider.

Platforms iPhone and iPad, iOS / iPadOS 26.0 or later
Language / UI Swift 6 (strict concurrency), SwiftUI
Architecture 9 engine packages with no UI code, 7 feature packages, 1 design-system package, a thin app target
Network None required. One optional, user-initiated download of ECB currency reference rates
Accounts None
Status Pre-release: feature-complete, all automated tests passing, build 1.0.0 (1) uploaded to TestFlight on 2026-11-20

# What makes it different

Typical calculator app ORIX Calc
0.1 + 0.2 = 0.30000000000000004, or rounded so you cannot tell Decimals are exact fractions: 0.3, labelled exact
One IRR, even when several exist Every IRR is listed, with the reason no single rate exists
Mortgages assume monthly compounding Canadian semi-annual compounding or US monthly, chosen explicitly
A vertical line where 1/x has a pole Curves are never joined across a discontinuity
A numerical value presented as "the answer" Each result says Exact, Symbolic, Numerical ≈ or Not supported
A decorative "verified" tick A badge that appears only when checks ran, and lists them

# 2. ORIX philosophy

  1. Correct before pretty. A result that cannot be computed reliably is an error message, never a plausible number.
  2. Say what was computed. Exactness, method, assumptions and conventions are always visible or one tap away.
  3. Local first. No account, no cloud, no analytics, no advertising. Your calculations stay on your device.
  4. One engine. Eight environments share one parser, one arithmetic, one history and one set of variables.
  5. Native. SwiftUI, SwiftData, Swift Charts, Accelerate, Vision, App Intents — and two small, pinned dependencies.
  6. Tested like a library. Every engine is a Swift package tested from the command line against independent references.

# 3. Application preview

All images are screenshots of the running app, captured by Scripts/screenshots.sh. Nothing is composited or mocked.

Standard calculator
Standard
Scientific calculator
Scientific
Financial calculator, time value of money
Financial
Graphing calculator
Graph
Math environment
Math
Statistics environment
Statistics
Unit converter
Convert
Workspace notebook
Workspace

iPad: companion calculator beside the workspace
iPad — the companion calculator beside a reactive workspace



iPad graph
iPad · Graph
iPad bonds
iPad · Bonds
iPad converter
iPad · Convert

# 4. Standard calculator

  • Large keys, live preview while typing, parentheses, ±, %, backspace, C (entry) and AC (all), undo / redo.
  • Memory (MC, MR, M+, M−), optional memory row; store any result as a named variable.
  • Swipe across the display to delete; tap the expression to type it with the system keyboard; long-press the display for Quick Actions (copy, copy full precision, paste expression, save to workspace, graph, convert, explain, export).
  • Hardware keyboard: digits, operators, Return, Escape, ⌘Z, ⌘C, ⌘V.
  • Locale-aware decimal and grouping separators; automatic, fixed, scientific and engineering notation; significant digits or fixed decimals; exact fractions. Display rounding never changes the stored value.

Percent key — the documented default: A + B% adds B % of A.

Input Result Input Result
200 + 10% 220 200 × 10% 20
200 − 10% 180 100 + 5% + 5% 110.25

A strict mode (B% is always B ÷ 100) is in Settings. Full table: conventions.

# 5. Scientific calculator

  • Powers, roots, logarithms in any base, exponentials, factorials, permutations, combinations, modulo, rounding functions.
  • Trigonometric, inverse, hyperbolic and inverse hyperbolic functions in degrees, radians or gradians (always shown).
  • Exact special angles: sin 30° = 0.5, cos 90° = 0, tan 45° = 1; tan 90° is a domain error, not 1.6·10¹⁶.
  • Complex numbers (rectangular and polar), vectors, matrices: determinant, inverse, rank, RREF, linear systems, eigenvalues (LAPACK). Exact entries give exact results.
  • Numerical derivative, integral, sum, product, root finding: integral(exp(-x^2), x, -inf, inf).
  • User variables and functions (f(x) = x² + 1), a searchable catalogue of functions, and CODATA 2022 physical constants.
  • Algebraic or RPN entry on the same engine (X Y Z T stack, ENTER, x⇄y, R↓, DROP).
text
2^100                 = 1267650600228229401496703205376          exact
1/3 + 1/6             = 0.5                                      exact
100!                  = 9.33262154439×10¹⁵⁷                      exact (158 digits kept)
det([1,1/2,1/3; 1/2,1/3,1/4; 1/3,1/4,1/5]) × 2160 = 1            exact
(1 + 2i)(3 − i)       = 5 + 5i
sqrt(-4)              → domain error in real mode, 2i in complex mode

# 6. Financial calculator

Section What it computes
TVM N, I/Y, PV, PMT, FV with P/Y, C/Y and BGN / END; solve for any variable; financial keypad with CPT, or a form
Cash flows NPV, NFV, IRR (unique / multiple / none), MIRR, payback, discounted payback, profitability index, NPV profile
Loans & mortgages Monthly, semi-monthly, biweekly, weekly and accelerated payments; Canadian fixed (semi-annual), Canadian variable, US and custom compounding; amortization schedule with CSV export; prepayments; rate changes; refinancing break-even; affordability
Bonds Price ↔ yield, yield to call, current yield, accrued interest, clean / dirty price, Macaulay and modified duration, convexity, bump-and-reprice effective measures; five day-count conventions
Investment CAGR, holding-period, annualized, arithmetic vs geometric, real return, money-weighted (dated flows), time-weighted, annuities, perpetuities, growing annuities and perpetuities
Options Black–Scholes–Merton with dividend yield, Greeks, implied volatility, put–call parity, CRR binomial tree (European and American), strategy payoff with break-evens
Sensitivity Studio NPV vs rate, bond price vs yield, payment vs rate, option value vs volatility or spot, FV vs time
text
Mortgage 300 000 at 5 % over 25 years, monthly payments
  Canada, fixed rate (compounded semi-annually)   1 744.81
  United States (compounded monthly)              1 753.77

Cash flows −1000, +2300, −1320
  IRR: two rates, 10 % and 20 % — no single IRR exists, both are reported

Black–Scholes–Merton  S = 42, K = 40, r = 10 %, σ = 20 %, T = 0.5
  call 4.7594   put 0.8086

Engine design: financial-engine.md · conventions: financial-conventions.md.

# 7. Graphing calculator

  • Explicit y = f(x) and x = g(y), parametric, polar, implicit curves, inequalities, scatter data with a least-squares line.
  • Pan, pinch zoom, reset, auto-fit (robust to poles), equal aspect, numeric window, π-multiple ticks.
  • Live Variables: every free parameter gets a slider, with optional animation.
  • Trace with snapping, coordinate inspection, roots, extrema, intersections, tangent lines, derivative curves, definite integrals with shaded regions, area between curves, arc length, inflection points, tables of values.
  • 3D surfaces z = f(x, y) with an orbit camera, height gradient, wireframe, contour lines and a probe.
  • PNG export of the graph and CSV export of sampled data.

A graph must not misrepresent a function. Each curve is a set of separate polylines; the sampler classifies poles, jumps, removable singularities and undefined intervals and never bridges them. A function that oscillates faster than the screen can show (sin(1000x)) is drawn as a band with a notice, not as a misleading smooth wave. Pixel tests assert that no vertical stroke is drawn at the poles of 1/x and tan x or at the jumps of floor(x). Graphs use radians by default, independently of the calculator's angle mode.

Details: graph-engine.md.

# 8. Advanced mathematics

Ten tools, each showing the input and the result in two-dimensional notation (stacked fractions, exponents, radicals, integrals, matrices) with a spoken description for VoiceOver:

Tool Scope
Solve Polynomial, isolation, substitutions; multiplicities, complex roots, extraneous roots struck out; numerical search on an interval
Derivative Any order, partial derivatives, gradient, with the rules applied
Integral Rule engine (table, substitution, parts, partial fractions, trig reduction); every antiderivative is re-differentiated and checked before it is shown; definite integrals exact or numerical
Limit Two-sided and one-sided, ±∞, L'Hôpital, numerical extrapolation; "does not exist" with both sides
Series Taylor / Maclaurin with exact coefficients; closed-form sums
Simplify Simplify, expand, factor over ℚ; polynomial division, GCD, roots
System Linear systems solved exactly (unique / none / infinitely many); small nonlinear systems numerically
Optimize Critical points and global extrema on an interval; multivariate numerical optimisation
ODE RK4 and adaptive Dormand–Prince, trajectories, phase portraits, step statistics
Matrix Determinant, inverse, rank, RREF, products, powers, A·x = b, eigenvalues, exact where possible

Every result carries a kind: Exact, Symbolic, Numerical ≈ (with its error estimate or residual), Not supported (with the reason) or Did not converge. ∫ e^(−x²) dx is reported as having no elementary antiderivative; its definite integral is returned as a labelled numerical value.

# 9. Statistics

  • Data: paste or type datasets (up to 8 columns), frequencies, named datasets; mean, median, modes, sample and population variance, quartiles with a choice of nine quantile methods, skewness, kurtosis, covariance, Pearson and Spearman correlation; histogram, box plot, scatter.
  • Distributions: Normal, Student t, χ², F, Binomial, Poisson, Exponential, Uniform, Gamma, Beta and more — density, cumulative, interval probability, quantile, with the shaded area equal to the number shown; seeded random samples.
  • Inference: confidence intervals and tests (z, t, paired, proportions, χ² goodness of fit and independence, one-way ANOVA, F, correlation) from data or summary statistics. Decisions are worded "reject" / "fail to reject".
  • Regression: simple, polynomial, exponential, logarithmic, power and multiple regression with diagnostics (leverage, studentized residuals, Cook's distance, Durbin–Watson, VIF, AIC / BIC).
  • Simulation: Monte Carlo on your own expression with random inputs, scenario tables, sampling distributions, bootstrap confidence intervals — all with a visible, reproducible seed.
  • 32 statistical functions (normcdf, tinv, binompdf…) are available in every other environment.

# 10. Unit conversion

  • 331 units in 33 categories, with exact rational factors: 1 mi = 1.609344 km exactly, 12 in = 30.48 cm exactly. Each result shows = or ≈ with the reason (exact, involves π, approximate constant).
  • Temperature readings and temperature differences, reciprocal units (fuel economy), binary and decimal data prefixes.
  • Interest-rate conventions: nominal with any compounding, effective, continuous, periodic, discount.
  • Currency — offline by default: manual rates, or ECB reference rates downloaded only when you tap Update rates. Source, date and age are always displayed; a rate is never described as live.

# 11. Workspace

A calculation notebook with a dependency graph.

text
Investment   = 100000
DiscountRate = 0.08            ← live parameter (slider)
CashFlow1    = 25000
CashFlow2    = 30000
CashFlow3    = 40000
NPV = -Investment + CashFlow1/(1+DiscountRate) + CashFlow2/(1+DiscountRate)^2 + CashFlow3/(1+DiscountRate)^3
                               → −19 378.397602   (recalculated as the slider moves)
  • Formula cells, live parameters, tables, graph cells drawn by the real graph renderer, notes; templates.
  • Only the cells that depend on a change are recalculated; circular references are detected and reported with their path (a → b → c → a); a cell that depends on a failed cell says which one.
  • Undo / redo, auto-save, inspector with dependencies, explanation and verification of each cell.
  • Export to PDF, CSV, plain text, Markdown, LaTeX, PNG and the native .orixcalc file (checksummed; a damaged file is detected and its readable content recovered). Exports include the assumptions the numbers depend on.

Design: workspace.md.

# 12. Signature features

Feature What it is Status
ORIX Live Variables Sliders that drive graph parameters and workspace cells; dependents update as you drag Implemented
ORIX Explain Formula, inputs, substitutions, intermediate values, result, assumptions — recorded by the algorithm that computed the result, never generated prose Implemented in every engine
ORIX Verified Results Domain, overflow, loss of significance, residuals, convergence, cross-checks. The badge renders only when a report contains executed checks Implemented
ORIX Classic Modes Algebraic entry, RPN, financial keypad (CPT), scientific keypad, graphing keyboard — one engine Implemented
ORIX Quick Actions Copy, save to workspace, graph, convert, explain, use in calculator, export — on every result Implemented
ORIX Math Camera Reads printed, single-line expressions with on-device Vision text recognition; the reading is always shown for review and never evaluated automatically Beta — see Known limitations

# 13. Numerical architecture

flowchart TD
    subgraph App["App target"]
        Shell["Adaptive shell · history · settings · intents"]
    end
    subgraph Features["Feature packages (SwiftUI)"]
        FCalc["Calculator<br/>Standard · Scientific"]
        FFin["Financial"]
        FGraph["Graph"]
        FMath["Math"]
        FStat["Statistics"]
        FConv["Convert"]
        FWork["Workspace"]
    end
    UI["ORIXUI — design system · shared session · SwiftData store"]
    subgraph Engines["Engine packages — no UI code"]
        Expr["ORIXExpression<br/>values · parser · evaluator"]
        Fin["ORIXFinancial"]
        Graph["ORIXGraph"]
        Sym["ORIXSymbolic"]
        Stat["ORIXStatistics"]
        Units["ORIXUnits"]
        Work["ORIXWorkspace"]
        Cam["ORIXMathCamera"]
    end
    Num["ORIXNumerics — Explanation · VerificationReport · root finding · quadrature"]
    Shell --> Features --> UI
    FCalc --> Expr
    FFin --> Fin
    FGraph --> Graph
    FMath --> Sym
    FStat --> Stat
    FConv --> Units
    FWork --> Work
    UI --> Expr
    Graph --> Expr
    Sym --> Expr
    Work --> Expr
    Expr --> Num
    Fin --> Num
    Stat --> Num

Expression pipeline

flowchart LR
    Text["Input text"] --> Lexer --> Parser --> AST["Expr tree"]
    AST --> Eval["Evaluator (typed values)"] --> Value --> Formatter
    Eval --> Steps["Explain steps"]
    Eval --> Notes["Verification notes"]
    AST --> Compile["Compiled Double closures"] --> Sampler["Graph sampler · quadrature · root finding"]
    AST --> Printer["Readable text · ASCII · LaTeX"]

The parser is a hand-written recursive-descent parser: text becomes a tree and nothing else. There is no dynamic code execution anywhere in the product.

Numerical type system

flowchart LR
    I["integer<br/>arbitrary precision"] --> R["rational<br/>exact fraction"] --> D["real<br/>IEEE-754 double"] --> C["complex"]
    V["vector"] --- M["matrix"]
    Q["quantity with unit<br/>(ORIXUnits)"]
    S["symbolic expression<br/>(ORIXSymbolic)"]
    CF["cash-flow series<br/>(ORIXFinancial)"]

More diagrams: financial engine · graph rendering · workspace dependency graph · local persistence.

# 14. Precision strategy

Kind of calculation Representation
Whole numbers Arbitrary-precision integers
Decimals and fractions Exact rationals (a decimal literal is an exact fraction)
Transcendental functions IEEE-754 double precision, labelled "≈ floating point"
Complex numbers Complex<Double>, principal branches
Linear algebra Exact Gauss–Jordan for exact entries; pivoted elimination and LAPACK for doubles, with residual checks
Money schedules Each amount rounded to the cent in exact decimal arithmetic
Unit conversion Exact rational factors, 38-digit decimal results

Stated limits: exact fractions up to 8192 bits (then double precision with a precision note); exact integers up to about 1.2 million digits; exact factorials up to 50000!; transcendental functions are not arbitrary precision. NaN and unexpected infinities become errors where they arise. Full text: precision.md.

# 15. Technology stack

Layer Technology Version Role
Language Swift 6 language mode, tools 6.2 Strict concurrency in every target
UI SwiftUI iOS 26 SDK All screens; Canvas for graphs and typeset math
Persistence SwiftData iOS 26 SDK History, variables, functions, workspaces, saved models (versioned schema)
Charts Swift Charts iOS 26 SDK Financial, statistical and ODE charts
Linear algebra Accelerate (LAPACK dgeev) system Eigenvalues
Recognition Vision system Math Camera text recognition
System integration App Intents, Share Sheet, Files (.orixcalc), fileImporter / fileExporter system Siri Shortcuts, export, import
Integrity CryptoKit (SHA-256) system Workspace file checksums
Big integers BigInt 5.7.0 (pinned) Exact integers and rationals — MIT
Complex numbers Swift Numerics 1.1.1 (pinned) Complex<Double> and elementary functions — Apache 2.0
Project generation XcodeGen — project.yml → ORIXCalc.xcodeproj (not committed)

No analytics, advertising, crash-reporting or networking SDK.

# 16. Project structure

text
ORIXCalc/
├── App/                         app target: entry point, adaptive shell, history, settings, intents, Math Camera, assets
├── Packages/
│   ├── ORIXNumerics/            Explanation, VerificationReport, root finding, quadrature, differentiation
│   ├── ORIXExpression/          typed values, exact arithmetic, parser, evaluator, formatter, printer, RPN
│   ├── ORIXFinancial/           TVM, cash flows, loans, bonds, investments, options, sensitivity
│   ├── ORIXStatistics/          special functions, descriptive, distributions, inference, regression, simulation
│   ├── ORIXUnits/               unit catalogue, exact conversion, rate conventions, currency model
│   ├── ORIXSymbolic/            simplify, polynomials, calculus, solving, limits, series, optimisation, ODEs
│   ├── ORIXGraph/               samplers, discontinuity detection, analysis, implicit curves, 3D meshes
│   ├── ORIXWorkspace/           document model, dependency graph, recalculation, exports, .orixcalc
│   ├── ORIXMathCamera/          Vision recognition and normalisation
│   ├── ORIXUI/                  design tokens, components, AppModel, SwiftData store
│   └── ORIXFeature{Calculator,Financial,Graph,Math,Statistics,Convert,Workspace}/
├── Tests/                       app unit tests
├── UITests/                     XCUITests (arithmetic, environments, persistence, accessibility audit)
├── Benchmarks/                  command-line performance harness
├── Scripts/                     generate, test-all, screenshots, release, secret-scan, asc
├── docs/                        architecture, design, mathematics, development, release, research, screenshots
├── project.yml                  XcodeGen project definition
└── RELEASE-REPORT.md

# 17. Installation

ORIX Calc is not on the App Store yet. Build 1.0.0 (1) is on TestFlight (see Release status); otherwise the app is built from source.

Requirements: a Mac with Xcode 27 or later (iOS 26 SDK), XcodeGen (brew install xcodegen), and network access the first time to fetch the two pinned Swift packages.

# 18. Build instructions

bash
git clone https://git.spboucher.ai/orix-calc.git ORIXCalc
cd ORIXCalc
Scripts/generate.sh                                         # writes ORIXCalc.xcodeproj
open ORIXCalc.xcodeproj                                     # scheme "ORIXCalc", any iOS 26 simulator
# or from the command line:
xcodebuild -project ORIXCalc.xcodeproj -scheme ORIXCalc \
  -destination 'platform=iOS Simulator,name=ORIXCalc iPhone' -derivedDataPath build/DerivedData build

Launch arguments (used by the UI tests and the screenshot script): -ORIXMode <environment>, -ORIXSection <id>, -ORIXDemo 1, -ORIXInMemory 1, -ORIXAppearance light|dark, -ORIXExpression "<text>", -ORIXCompanion 1. Details: setup.md.

# 19. Testing

bash
Scripts/test-all.sh            # everything; summary in build/test-summary.txt
Scripts/test-all.sh engines    # engine packages, swift test on macOS
Scripts/test-all.sh features   # feature packages on the iOS simulator
Scripts/test-all.sh app        # app unit tests + XCUITests
Suite Where it runs Tests
ORIXNumerics macOS 12
ORIXExpression macOS 37
ORIXWorkspace macOS 11
ORIXFinancial macOS 67
ORIXStatistics macOS 85
ORIXUnits macOS 60
ORIXSymbolic macOS 58
ORIXGraph macOS 117
ORIXMathCamera macOS 3
ORIXFeatureCalculator iOS simulator 11
ORIXFeatureFinancial iOS simulator 35
ORIXFeatureConvert iOS simulator 46
ORIXFeatureGraph iOS simulator 71
ORIXFeatureMath iOS simulator 48
ORIXFeatureStatistics iOS simulator 66
ORIXFeatureWorkspace iOS simulator 46
App unit tests iOS simulator 5
UI tests (XCUITest) iOS simulator 8
Total 786

A test is one test function; many are table-driven over hundreds or thousands of reference cases. The result of the latest full run is recorded in RELEASE-REPORT.md. No code-coverage figure is published because none was measured. Strategy: testing.md.

# 20. Mathematical validation

A successful build proves nothing about correctness, so each engine is checked against references produced outside it.

Domain Reference Scale
Special functions and distributions mpmath at 50 digits 5 343 + 10 164 cases; worst relative error 4.5·10⁻¹³ and 6.5·10⁻¹⁴
Inference and regression SciPy, statsmodels, NumPy; 60-digit solve for the Longley data agreement to 10⁻¹⁰
Financial mpmath, decimal, NumPy, SciPy scripts; textbook cases 108 reference cases
Units Python fractions.Fraction from the definitions 841 conversions, 590 exact to the last digit
Symbolic SymPy and mpmath, compared semantically at random points 83 derivatives, 88 integrals, 37 limits, 20 series…
Graph Analytic locations of discontinuities; dense resampling between vertices every function of the test corpus
Expression engine Identities, known exact values, NumPy for eigenvalues —

Scripts and their outputs are committed beside each engine (Packages/*/Reference/). What is not independently validated is stated just as plainly — see reference-tests.md and numerical-methods.md.

# 21. Performance

Measured with Benchmarks/ in release mode on the development Mac (Apple M5 Max); these are engine timings, not device timings.

Operation Median
Parse and evaluate 25 × 4 34 µs
100! exact 49 µs
Mortgage payment 16 µs
300-payment amortization schedule, cent-exact 1.6 ms
American put, 1 000-step binomial tree 0.5 ms
Sample tan x across 1200 px with discontinuity detection 0.5 ms
Multiple regression, 10 000 rows × 3 predictors, with diagnostics 1.5 ms
Move a slider on a 14-cell NPV workspace 1.6 ms
50 × 50 floating-point determinant 11 ms
Monte Carlo, 1 000 000 trials 0.35 s

Full table, method and the optimisations made from profiling: performance.md. Cold launch, memory and battery on physical devices have not been measured.

# 22. Privacy

Account or sign-in None
Data collected None (PrivacyInfo.xcprivacy: no tracking, no collected data types)
Analytics, advertising, crash-reporting SDKs None
Calculations On device
Network One optional request, only when you tap Update rates: the public ECB reference-rate file. No identifier is sent
Storage History, variables, functions, workspaces and saved models in a local SwiftData store; preferences in UserDefaults
Your control Export and import a JSON backup; export workspaces as files; clear the history; delete any variable or workspace
Camera Only when you open Math Camera; images are processed on device and not stored

More: privacy.md.

# 23. Accessibility

  • Native SwiftUI controls with VoiceOver labels, values and hints; mathematical expressions are read in words.
  • Dynamic Type across forms and results; at accessibility sizes labels move above values instead of truncating. Calculator keys are sized by the keypad grid and expose the system Large Content Viewer instead.
  • Light and Dark appearances from adaptive tokens; readable foregrounds on tinted controls; no meaning by colour alone.
  • Reduce Motion respected; haptics optional.
  • An automated accessibility audit (Dynamic Type, element descriptions, hit regions) runs in the UI tests.

What was and was not verified: accessibility.md.

# 24. Localization

Status
Number formatting Follows the device region (decimal and grouping separators, including decimal-comma input)
Interface language English in version 1.0
App Store listing Prepared in English (Canada) and French (Canada) — app-store.md
French interface Planned (see Roadmap)

# 25. Roadmap

Item Notes
French (Canada) interface String catalogue for the app and feature packages
Layered Icon Composer icon Version 1.0 ships the bitmap icon in default, dark and tinted appearances
Home Screen widget, Spotlight indexing of workspaces Not in 1.0
Apple Pencil input, multi-window workspaces Not in 1.0
Shared ORIXDesign package with ORIX Scan Values are aligned today; packages are not shared yet
Arbitrary-precision transcendental functions Would lift the double-precision limit
Quantities with units inside expressions Units live in Convert today
Graphs embedded in PDF exports Graph cells are described in text in the PDF

# 26. Release status

Stage State
Implementation Eight environments and six signature features implemented (Math Camera as Beta)
Automated tests 786 tests; latest result in RELEASE-REPORT.md
Physical-device testing Not done — no device was connected during development
Signed Release archive See RELEASE-REPORT.md
App Store Connect record Created 2026-11-20 — "ORIX Calc", Apple ID 6837544681, SKU orixcalc-ios-001
TestFlight Build 1.0.0 (1) uploaded 2026-11-20; processing state and tester availability in RELEASE-REPORT.md
App Store submission Not requested

Procedure: testflight.md · checklist: checklist.md.

# 27. Known limitations

  • Never run on a physical device. Everything was verified in the iOS 26.5 simulator. Camera capture, haptics, Siri invocation, performance and battery need a device pass.
  • Math Camera is Beta. On rendered images of 90 printed, single-line expressions in three fonts, the top reading evaluated to the right value in 92 % of cases. It was not validated on photographs. Raised exponents, stacked fractions, radicals and handwriting are not read reliably. Results are always shown for review.
  • Transcendental functions are double precision (15–16 significant digits). Exact arithmetic is arbitrary precision.
  • Symbolic scope is bounded. Non-elementary integrals, irreducible cubic and quartic roots in closed form, inequalities and symbolic-coefficient systems are reported as not supported (with a numerical value where one exists). Symbolic calculus on trigonometric input requires radians; the Math screen offers a per-calculation override.
  • Graphing: features narrower than a pixel between two samples can be missed; implicit curves are limited by a 2-pixel grid and flag themselves when unreliable; analysis tools work on explicit y = f(x) curves.
  • Financial: regular coupons only for bonds; loan schedules follow one stated rounding policy and can differ from a lender's statement by a cent; no third-party library (such as QuantLib) was used as a cross-check.
  • Workspace: a sheet of hundreds of cells that each compound an exact fraction recalculates slowly (about a second for 500 such cells), because the exact values have thousands of bits. Graph cells are not drawn in PDF or PNG exports.
  • Expressions are limited to 1000 terms per sum or product chain.
  • Interface in English only; engine-generated explanation text uses "." as decimal separator.
  • Not an approved examination calculator, and not financial advice.
  • Several interactive paths (drag and drop, some share sheets, hardware-keyboard shortcuts inside feature screens) are covered by model tests but were not exercised by hand. The complete list is in RELEASE-REPORT.md.

# 28. ORIX ecosystem

ORIX is a family of premium Apple utilities that share a visual language: the ring, opened by one gesture.

App The ring is opened by Role State
ORIX Calc An equals sign — the answer Universal calculator This repository
ORIX Scan An optical beam — capture Document scanner In development

Both apps use the same neutral palette, typography rules and voice (brand guidelines, design system, icon design).

# 29. License

All rights reserved © 2026 Simon-Pierre Boucher. The source is published for reading; no licence to reuse it is granted. See LICENSE for the notices of the two open-source components (BigInt, MIT; Swift Numerics, Apache 2.0).

# Author


Simon-Pierre Boucher — design, development, operation
www.spboucher.ai · git.spboucher.ai · contact@spboucher.ai

Clone orix-calc

Anonymous clone and fetch. Pushing requires the owner's personal access token.

Snapshot of main

Files main
Menu

Theme