newRPL  build 1255 released! [updated to 1299]

05162019, 09:23 AM
(This post was last modified: 05162019 10:16 AM by Gilles.)
Post: #424




RE: newRPL  build 1089 released! [update:build 1158]
(05152019 09:00 PM)Claudio L. Wrote:(05152019 11:47 AM)Gilles Wrote: If not, NewRpl lacks an R>I (or a more generic A>E Approx to exact) command 1/ To preserve backwards compatibility with the RPL language. In RPL : 123. R>I returns 123 2/ With some problem you have to find an exact solution. But to find it, you first have to deal with an approx solution (or an interval) and look around to find and verify the exact solution. 3/ To play with digits. I knows the DIGITS command. But in some case, it is interesting to do things like (probably not the best way) : { 1. 2. 3. 4. } << R>I >STR >> MAP ΣLIST STR> returns 1234 (NL>I behavior with the ListExt Library) 4/ Perhaps I missed a command, but if you need an 'exact' random integer/ or a random matrix with exact integers. Or generate a random number in Q (ie .'158/99') EDIT : in fact the >Q command does the job ;D 123. >Q returns 123 

« Next Oldest  Next Newest »

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