BASIC VFP speed
Bernard Boase (169) 199 posts |
This time last year, this Latest news encouraged use of VFP via BASIC VI VFP. Since then there have been updates to both BASIC and to module VFPSupport, but I am not getting the expected fast SIN and COS from the little demo program shown there. Setups Results I’m not surprised that FPA is so slow, nor that the Pi is faster than the ARMX6, but why is BASIC VFP slower than BASIC V on both machines?
|
David J. Ruck (33) 1509 posts |
BASIC’s own fp type has always been very quick compared to IEEE standard implementations, even in hardware. |
Clive Semmens (2335) 3141 posts |
Which isn’t really surprising, since BASIC V has 5-byte reals, whereas BASIC VI has 8-byte reals. |
Bernard Boase (169) 199 posts |
All true, but in Martin Avison’s comment attached to the original news item I referenced, his Test2 showed BASIC VI VFP’s speed as twice that of BASIC V. What might be different in my test? |
David Feugey (2125) 2696 posts |
Not all VFP units are equal. |