Re: primality




"Sebastian Gottschalk" <seppi@xxxxxxxxx> wrote in message
news:57go47F2ccjr8U1@xxxxxxxxxxxxxxxx
From previous posts we can safely conclude that his only experience is
Visual Basic (mind that the B in Basic stands for "beginners"). And
further it seems that he only two data types: small integers and strings.

your conclusion would be wrong, my experience extends to MSVB C/C++ and
minute amounts of ASM sa well as some java, the fact that i choose to do
most of my development in MSVB is irrelevant. as for the data types i use, i
use whatever seems appropriate at the time that actually works. when i find
a better way of doing things i amend the code to use it. i also have a habit
that many find somewhat annoying of if i see a function that a) i have never
seen before, or b) have never seen used in a particular way before, i will
go the long way and not use the function in the way i see it being used
until i can get it working in the long form (aka step by step) so i know
exactly how the function does what it is doing in that circumstance.

Even VB represents integers in radix-2. That's why I suggested the Windows
Cmd Shell, which indeed stores everything as a string, parses and converts
it on every numeric operation and then converts it back.
This is also consistent with his ideas of arbitrary slow algorithms (like
trial division in all kinds of fashion) being fast, since the integers of
this shell are limited to 10 decimal digits (plus 3 fractional digits,
with no guarantee of precision) and thus he'll never even get into touch
with the effects of the big-O.

there are the words slow algorithm again, but were you not the one who said
that regardless of how the function i am using is carried out that there is
no significant difference in timing. you don't understand what i am doing or
attempting to do, i have tried to explain it in every way i can think of
short of copying the code directly. i would start doing that but i'm sure it
would annoy even more people than i do already. but if that is what it takes
i will do just that as soon as i have finished converting the main function
into C


.


Quantcast