Search found 852 matches

by jj2007
Nov 12, 2018 20:09
Forum: Community Discussion
Topic: Speed of FreeBasic
Replies: 62
Views: 4104

Re: Speed of FreeBasic

Which part of the very incomplete list below does your speed test cover? But before doing all that, it would be a good idea to agree on a testbed that simulates some relevant common tasks, like: - calculations of all sorts, integers vs floats etc - string generation, concatenation - string parsing -...
by jj2007
Nov 12, 2018 14:07
Forum: Community Discussion
Topic: Resignation
Replies: 74
Views: 1926

Re: Resignation

marcov wrote:I don't think you can make people responsible for insults they "may" have triggered.
You are right, this is indeed not MrSwiss' fault, but rather the responsibility of persons who call fellow members "cranky old autists".
by jj2007
Nov 12, 2018 13:25
Forum: Tips and Tricks
Topic: Bin/Hex for Floats (Single/Double)
Replies: 6
Views: 133

Re: Bin/Hex for Floats (Single/Double)

Oops, now I see: I had used DBLtoHEX(vs) instead of DBLtoHEX(vd); and strangely GCC has no problem using a single for a function that expects a double...

My fault, apologies.
by jj2007
Nov 12, 2018 11:26
Forum: Tips and Tricks
Topic: Bin/Hex for Floats (Single/Double)
Replies: 6
Views: 133

Re: Bin/Hex for Floats (Single/Double)

Interesting. I made a little test with the DBL function, and I wonder if something is missing here? Dim As double vd = -1.2345678 ' same value as for single asm int 3 ' for comparison, Print Hex$(FP8(-1.2345678)) yields BFF3C0CA2A5B1D5D lea eax, [vd] ' 5D1D5B2ACAC0F3BF end asm ' BFF3C0CA20000000 Pri...
by jj2007
Nov 12, 2018 8:40
Forum: Community Discussion
Topic: Resignation
Replies: 74
Views: 1926

Re: Resignation

MrSwiss has just posted Forum Moderators . Have a look he made some interesting observations. And he triggered new insults ("cranky old autists") by like-minded people. Oh well... :-) Instead of suspending or banning somebody, it would be nice if the forum software allowed the OP to disal...
by jj2007
Nov 11, 2018 23:42
Forum: Community Discussion
Topic: Forum Moderators
Replies: 19
Views: 585

Re: Forum Moderators

Pritchard wrote:They're cranky old autists
I find it pretty unfair to call MrSwiss a cranky old autist. It is generally a very bad sign if members of a forum start using such kind of language; it normally means somebody is short of arguments. Insults should never ever be part of a professional person's vocabulary.
by jj2007
Nov 08, 2018 11:05
Forum: Community Discussion
Topic: Resignation
Replies: 74
Views: 1926

Re: Resignation

<big smile>
by jj2007
Nov 08, 2018 10:15
Forum: Community Discussion
Topic: Resignation
Replies: 74
Views: 1926

Re: Resignation

I took great exception to my code being described as not trusted when I put a lot of effort into trying to make sure that it was; especially the cryptographic code. The wording used by MrSwiss was indeed very offensive, and you are perfectly right to flag the issue. But, I repeat myself, don't let ...
by jj2007
Nov 05, 2018 8:08
Forum: Community Discussion
Topic: Resignation
Replies: 74
Views: 1926

Re: Resignation

deltarho[1859] wrote:May I take this opportunity to thank you for the four posts you have made since joining the forum on Jun 4, 2017 which is pretty close to "don't ever make any posts other than that one".
Right. Don't waste your precious time, David ;-)
by jj2007
Nov 05, 2018 8:01
Forum: General
Topic: Russian Sorting Halves Danilin
Replies: 11
Views: 268

Re: Russian Sorting Halves Danilin

To make it work in FB:

Code: Select all

Dim as integer K, N, I, summa, start, finish, middle, s, y, z, t, j
N=17539
DIM as integer d(N), a(N), v(N), q(5)
by jj2007
Nov 04, 2018 11:14
Forum: Community Discussion
Topic: Resignation
Replies: 74
Views: 1926

Re: Resignation

Is Jochen German? Yep, I'm German, but I live in Italy, and I'm not much younger than you are. The 'bad apples' are all over the place, I tend to kick them out if they are completely useless but tease them with irony if their contributions are overall valuable. Sometimes I wish I could talk to thei...
by jj2007
Nov 04, 2018 9:23
Forum: Community Discussion
Topic: Resignation
Replies: 74
Views: 1926

Re: Resignation

David, I've watched that thread and wondered if I should post a comment but decided to wait. There's the golden rule 'don't feed the troll', right? There's another rule: Don't let the troll spoil your pleasure! You are an excellent coder, in fact the only reason why I don't add my 2cts to your stuff...
by jj2007
Nov 02, 2018 17:03
Forum: General
Topic: Where have I gone wrong
Replies: 192
Views: 4588

Re: Where have I gone wrong

counting_pine wrote:Things like this just serve to highlight how unexpectedly complicated zstrings are
... in FreeBasic.
by jj2007
Nov 02, 2018 9:37
Forum: General
Topic: timing benchmark using reduced precision
Replies: 4
Views: 126

Re: timing benchmark using reduced precision

Your theory is probably correct. In practice, knowing that division is so terribly slow, you simply avoid it like the plague. After all, there is multiplication by the inverse value, which is fast. My library functions include a dedicated FpuSet macro , but the default is REAL10 aka "extended d...
by jj2007
Nov 02, 2018 3:52
Forum: General
Topic: timing benchmark using reduced precision
Replies: 4
Views: 126

Re: timing benchmark using reduced precision

asm
fstcw word ptr [oldcw]
fldcw word ptr [cwsingle] 'set FPU precision to double
end asm
Typo: you obviously mean single here.

Go to advanced search