Won't Be Coming Back
Posts: 1,822
Threads: 200
Joined: 2009-10
Is 3^-1 processed the same way as 1/3? I heard that multiplication functions are faster, and if typing out 3^-1 is processed as multiplication instead of division, then is it advantageous to use 3^-1, since it takes up more space?
Administrator
Posts: 17,190
Threads: 2,153
Joined: 2008-09
Gender: Male
Sexual Orientation: Gay
IGN: Aesilyn
Server: Mardia
Level: 200
Job: I/L ArchMage
Guild: Animus
Give specific language in question and a use case scenario.
Won't Be Coming Back
Posts: 1,822
Threads: 200
Joined: 2009-10
[spoiler=].1((3(10^3))^-1M^2+3^-1M+.05I->Y
(10^-4)(3^-1M^2+3MQ+50I->Z
2(CD-D-C+2)H(AV(Y+Z))^-1->J
(Y-Z)^-1(Y-H(AVKD)^-1->E
(Y-Z)^-1(Y-H(AVK)^-1->F[/spoiler]
The above are the sections in question. I bolded the areas that I'm talking about.
According to Wikipedia, the language is unique to the calculator. It's called "TI-BASIC". I don't know what that means, but I know that each digit takes up 1 RAM.
My question is, would the program work faster, at the same speed, or slower if I write the above instead as the below:
[spoiler=].1(M^2/3000+M/3+.05I->Y
(10^-4)(M^2/3+3MQ+50I->Z
2(CD-D-C+2)H/(AV(Y+Z->J
(Y-H/(AVKD))/(Y-Z->E
(Y-H/(AVK))/(Y-Z->F[/spoiler]