PicoMite V6.00.02


Author Message
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3408
Posted: 05:03am 07 Jul 2025      

MATH WINDOW in(), minout, maxout, out() [,minin, maxin] Manual page 128

Not sure if this a bug or the manual needs an extra note.
minin and maxin need to be floats. Integers give less than useful results.

Using the example in the manual:-
> DIM integer IN(2)=(1,2,3), OUT(2), LOW, HIGH : MATH WINDOW IN(), 7, 3, OUT(), LOW, HIGH
> ? LOW, HIGH : MATH v_print OUT()
4607182418800017408     4613937818241073152
7, 5, 3
>
> clear
> DIM integer IN(2)=(1,2,3), OUT(2) : dim float LOW, HIGH : MATH WINDOW IN(), 7, 3, OUT(), LOW, HIGH
> ? LOW, HIGH : MATH v_print OUT()
1       3
7, 5, 3
>