Line 0: Source too big for the Free version.

Just starting out? Need help? Post your questions and find answers here.
Olli
Addict
Addict
Posts: 1264
Joined: Wed May 27, 2020 12:26 pm

Line 0: Source too big for the Free version.

Post by Olli »

Code: Select all

R = Random(Random(Random(Random(Random(Random(Random(Random(255) ) ) ) ) ) ) )
:mrgreen:
User avatar
SPH
Enthusiast
Enthusiast
Posts: 593
Joined: Tue Jan 04, 2011 6:21 pm

Re: Line 0: Source too big for the Free version.

Post by SPH »

I master this code.
The start of the result is close to 0 but not necessarily at 0.

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Olli
Addict
Addict
Posts: 1264
Joined: Wed May 27, 2020 12:26 pm

Re: Line 0: Source too big for the Free version.

Post by Olli »

I can retrieve the mathematic equivalent :

Code: Select all

Define.d Precision = 1000000
Define.d stat, opposite
stat = Pow(Random(Precision) / Precision, 8) * 255
opposite = Pow(1 - (Random(Precision) / Precision), 8) * 255
Debug stat
Debug opposite
Post Reply