Really really fast BASIC handheld
01-11-2019, 06:27 AM
Post: #7
 berndpr Junior Member Posts: 32 Joined: Jan 2019
RE: Really really fast BASIC handheld
(01-10-2019 08:54 AM)ijabbott Wrote:
(01-10-2019 08:37 AM)berndpr Wrote:  Yes, I know. But as far as I understand the benchmark is using degree as input for the sin function. For comparing the results I thought I use the same input, even this is mathematical not necessary.

Bernd

But X isn't in degrees or radians. It is the tangent of an angle. SIN(ATAN(X)) is the sine of the same angle and should give the same result (subject to minor rounding errors) on a calculator set to degrees or radians. By replacing X with RAD(X) you are passing the wrong values to the SIN(ATAN(x)) function.

I'm not sure if the benchmark specifies degrees or radians mode to be used. There might be a slight difference in speed between the two for a particular machine, but the final resulting value should be more or less the same (subject to accumulated rounding errors).

OK, you are right.

I have delete the RAD function:
I got this results for 100000:
Time 0.53 and 139560.97614105.
So it's faster and the result is different.

I hope this satisfy you now.

Bernd
 « Next Oldest | Next Newest »

 Messages In This Thread Really really fast BASIC handheld - berndpr - 01-09-2019, 04:03 PM RE: Really really fast BASIC handheld - Dan - 01-10-2019, 01:10 AM RE: Really really fast BASIC handheld - berndpr - 01-10-2019, 08:31 AM RE: Really really fast BASIC handheld - Dan - 01-11-2019, 06:40 AM RE: Really really fast BASIC handheld - ijabbott - 01-10-2019, 08:16 AM RE: Really really fast BASIC handheld - berndpr - 01-10-2019, 08:37 AM RE: Really really fast BASIC handheld - ijabbott - 01-10-2019, 08:54 AM RE: Really really fast BASIC handheld - berndpr - 01-11-2019 06:27 AM RE: Really really fast BASIC handheld - ijabbott - 01-11-2019, 10:34 AM RE: Really really fast BASIC handheld - berndpr - 01-11-2019, 07:11 AM RE: Really really fast BASIC handheld - xerxes - 01-11-2019, 01:34 PM RE: Really really fast BASIC handheld - Maximilian Hohmann - 01-11-2019, 12:05 PM RE: Really really fast BASIC handheld - Dave Britten - 01-11-2019, 04:20 PM RE: Really really fast BASIC handheld - smp - 01-11-2019, 04:21 PM RE: Really really fast BASIC handheld - hp41cx - 01-11-2019, 10:48 PM RE: Really really fast BASIC handheld - Stevetuc - 01-12-2019, 08:03 AM RE: Really really fast BASIC handheld - StephenG1CMZ - 01-12-2019, 10:21 AM RE: Really really fast BASIC handheld - pier4r - 01-12-2019, 02:41 PM RE: Really really fast BASIC handheld - mfleming - 01-12-2019, 04:56 PM RE: Really really fast BASIC handheld - StephenG1CMZ - 01-12-2019, 09:41 PM RE: Really really fast BASIC handheld - mfleming - 01-13-2019, 12:59 AM RE: Really really fast BASIC handheld - berndpr - 01-12-2019, 10:00 PM RE: Really really fast BASIC handheld - xerxes - 01-13-2019, 02:56 PM RE: Really really fast BASIC handheld - xerxes - 01-13-2019, 11:20 PM RE: Really really fast BASIC handheld - berndpr - 01-14-2019, 07:28 PM RE: Really really fast BASIC handheld - Stevetuc - 01-13-2019, 08:37 AM RE: Really really fast BASIC handheld - pier4r - 01-13-2019, 09:55 AM RE: Really really fast BASIC handheld - toml_12953 - 04-18-2020, 04:48 PM RE: Really really fast BASIC handheld - mfleming - 04-19-2020, 01:34 AM RE: Really really fast BASIC handheld - Stevetuc - 05-12-2020, 07:58 AM RE: Really really fast BASIC handheld - Stevetuc - 05-12-2020, 08:40 AM RE: Really really fast BASIC handheld - berndpr - 01-13-2019, 08:08 PM RE: Really really fast BASIC handheld - xerxes - 01-13-2019, 08:30 PM RE: Really really fast BASIC handheld - pier4r - 01-13-2019, 08:40 PM RE: Really really fast BASIC handheld - Luigi Vampa - 01-13-2019, 09:37 PM RE: Really really fast BASIC handheld - berndpr - 01-13-2019, 10:03 PM RE: Really really fast BASIC handheld - toml_12953 - 10-18-2019, 04:53 PM RE: Really really fast BASIC handheld - StephenG1CMZ - 10-16-2019, 10:30 PM RE: Really really fast BASIC handheld - Csaba Tizedes - 10-18-2019, 02:08 PM RE: Really really fast BASIC handheld - Csaba Tizedes - 04-18-2020, 11:04 AM RE: Really really fast BASIC handheld - toml_12953 - 04-18-2020, 08:36 PM RE: Really really fast BASIC handheld - berndpr - 03-08-2021, 01:10 AM RE: Really really fast BASIC handheld - Dave Britten - 03-08-2021, 01:29 AM RE: Really really fast BASIC handheld - berndpr - 03-08-2021, 08:22 PM RE: Really really fast BASIC handheld - berndpr - 03-08-2021, 08:50 PM RE: Really really fast BASIC handheld - berndpr - 03-08-2021, 08:54 PM RE: Really really fast BASIC handheld - Stevetuc - 03-09-2021, 10:49 AM RE: Really really fast BASIC handheld - Stevetuc - 03-19-2021, 10:29 AM RE: Really really fast BASIC handheld - berndpr - 03-08-2021, 09:26 PM RE: Really really fast BASIC handheld - Dave Britten - 03-08-2021, 10:00 PM RE: Really really fast BASIC handheld - berndpr - 03-10-2021, 03:57 AM RE: Really really fast BASIC handheld - Stevetuc - 03-10-2021, 07:51 AM RE: Really really fast BASIC handheld - Dave Britten - 03-10-2021, 12:45 PM

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