Post Reply 
Plus42 Equations, Preview Release
11-21-2021, 01:20 PM (This post was last modified: 11-21-2021 02:11 PM by Thomas Okken.)
Post: #7
RE: Plus42 Equations, Preview Release
I just uploaded a new build. It contains:

1. REGX, REGY, REGZ, REGT, and STACK[n] for accessing the RPN stack (read-only)
2. Two-dimensional indexing for matrices: M[A:B] and ITEM(M:A:B)
3. Ability to assign to a matrix element using L()
4. Get number of rows and columns of a matrix: MROWS(M) and MCOLS(M)
5. Integration element: ∫(eqn_name:var:lo:hi)
6. Also works for user programs: ∫(XEQ:prgm_name:var:lo:hi)
7. Fixed a potential crash while cleaning up on exit or while switching states
8. Experimental fix for blurriness in print-out on certain Android devices

I couldn't reproduce the 3E17 bug, but after I posted the update, I realized it only happens with the small E used as the exponent character on the 42S; the normal letters E and e do work. I'll fix the small E in the next build.

UPDATE: There are several bugs in the way numbers are handled. It's not distinguishing properly between numbers and names in the lexer, and it's using sscanf() to convert numbers to floating-point, instead of using string2phloat(). This is proof-of-concept code from the early binary-only development builds, that I forgot about later on. I just fixed it, and those fixes will be in the next build.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Plus42 Equations, Preview Release - Thomas Okken - 11-21-2021 01:20 PM



User(s) browsing this thread: 1 Guest(s)