0.0.16

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 0.0.16

Post by Mr. Kibernetik »

rbytes wrote:
Fri Sep 15, 2017 3:28 pm
is there a place in the SPL app that shows the version number? Maybe the store made a publishing error.
No, currently version number is not visible. I think I shall make it visible somewhere.

I have checked, previous versions return this result:

Code: Select all

n=0.333333333333333
n=1.07150860718627E+301
because it works only as FLOAT in this example.

It is very strange that BIG format does not work at your device. My computer and my smartphone both give correct BIG results.

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: 0.0.16

Post by rbytes »

I confirmed that #.type() is in the index. It just doesn't work. I wonder if this is a due to a different CPU or math processor in my tablet. Maybe today I will install SPL on my laptop and try the same thing.

I can calculate and display large numbers. I made this code:

Code: Select all

p=#.output
p("10/3.154762456789105 = ",10/3.154762456789105)
var = 154762456789105789
p("print var = 154762456789105789:")
p(var)
which produces this output:
Attachments
Capture4.PNG
Capture4.PNG (11.33 KiB) Viewed 1732 times
The only thing that gets me down is gravity...

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 0.0.16

Post by Mr. Kibernetik »

large number like "154762456789105789" is just an INTEGER number. The #.type function reports internal object type.
In SPL biggest INTEGER number is 2^63-1. Next number 2^63 is already a BIG number.
Most probably your tablet has some incompatibility with Microsoft math libraries, currently I have no better idea what happens.

Post Reply