Am 28.08.2017 00:32 schrieb "Ched" <
charles.edouard.des.vastes.vig...@gmail.com>:
>
> Hello,
>
> I agree that the extended type is not portable and not as fast as double.
>
> But sometimes, we absolutely need numerical precision, so we have to
assume the costs in terms of runtime and possibly nonp
On 2017-08-27 21:12, Paulo Costa wrote:
On 27-Aug-17 23:47, Dmitry Boyarintsev wrote:
Is 2 neither true, nor false? 3? 4?
If false is zero,
Then true is not false.
Also C doesn't have a boolean type per se. Iirc it was introduced in
some version of c++ standard.
In C it's very strange to se
On 27-Aug-17 23:47, Dmitry Boyarintsev wrote:
Is 2 neither true, nor false? 3? 4?
If false is zero,
Then true is not false.
Also C doesn't have a boolean type per se. Iirc it was introduced in
some version of c++ standard.
In C it's very strange to see code like that:
If (b==1)
It's always
Is 2 neither true, nor false? 3? 4?
If false is zero,
Then true is not false.
Also C doesn't have a boolean type per se. Iirc it was introduced in some
version of c++ standard.
In C it's very strange to see code like that:
If (b==1)
It's always
If (b)
Or
If (!b)
On Sunday, August 27, 2017,
Hello,
I agree that the extended type is not portable and not as fast as double.
But sometimes, we absolutely need numerical precision, so we have to assume the costs in terms of runtime
and possibly nonportability. When the algorithms are nearly optimal, there is no room for software
enhancem
On 2017-08-27 06:22, Dmitry Boyarintsev wrote:
On Sun, Aug 27, 2017 at 2:37 AM, wrote:
Why borland chose the bool to not be 100 percent compatible, and
only 50 percent compatible?
Bool in delphi:
true = -1
Bool in C:
true = ($) 1
Why not just make it exactly compatible, there m
On 2017-08-27 14:52, James Richters wrote:
i think you're looking for IPC (InterProcess Communication)... with
this, the second instance would load up, find that there is one
already running, tell the already running one about the new file to
load, and then exit...
Thank you, that is exactly
On 2017-08-27 12:25, mar...@stack.nl wrote:
In our previous episode, nore...@z505.com said:
> rarer
> cases)
That's good news, does Delphi need to add a boolean8/16/32 some day,
or
already has?
I don't know. FPC needed it for GTK interfacing, but FPC doesn't use
it.
The main headers inte
On 27.08.2017 19:27, Marco van de Voort wrote:
> In our previous episode, Sven Barth via fpc-pascal said:
>> Am 27.08.2017 00:10 schrieb "Marco van de Voort" :
>>> The GTK headers also use a 0/1 boolean, and for that the boolean8/16/32
>>> types were created. I couldn't quickly find docs, so I file
>i think you're looking for IPC (InterProcess Communication)... with this, the
>second instance would load up, find that there is one already running, tell
>the already running one about the new file to load, and then exit...
Thank you, that is exactly what I want but did not know what it was ca
In our previous episode, Sven Barth via fpc-pascal said:
> Am 27.08.2017 00:10 schrieb "Marco van de Voort" :
> > The GTK headers also use a 0/1 boolean, and for that the boolean8/16/32
> > types were created. I couldn't quickly find docs, so I filed a bug for
> that.
>
> Please note that there is
In our previous episode, nore...@z505.com said:
> > rarer
> > cases)
>
> That's good news, does Delphi need to add a boolean8/16/32 some day, or
> already has?
I don't know. FPC needed it for GTK interfacing, but FPC doesn't use it.
The main headers interfaced by Delphi are WINAPI, and they hav
In our previous episode, nore...@z505.com said:
> > And sometimes API don't adhere to above statement, and then having
> > chosen
> > the right boolean type (longbool or boolean) saves a lot of trouble.
>
> Another option is to write BOOLEAN wrappers around the lower level
> functions that inter
On 08/27/2017 12:18 PM, James Richters wrote:
I have a windows console application I wrote with Freepascal.I can send
it a command line parameter for a file to use have it working so if I just
double click on the file I wish to open with my program, it launches and
opens it. I am wondering
I have a windows console application I wrote with Freepascal.I can send it
a command line parameter for a file to use have it working so if I just double
click on the file I wish to open with my program, it launches and opens it. I
am wondering how I can set it up so that double clicking a
On Sun, Aug 27, 2017 at 2:37 AM, wrote:
>
> Why borland chose the bool to not be 100 percent compatible, and only 50
> percent compatible?
>
> Bool in delphi:
> true = -1
>
> Bool in C:
> true = ($) 1
>
> Why not just make it exactly compatible, there must be some underlying
> (possi
Am 27.08.2017 00:10 schrieb "Marco van de Voort" :
> The GTK headers also use a 0/1 boolean, and for that the boolean8/16/32
> types were created. I couldn't quickly find docs, so I filed a bug for
that.
Please note that there is no Boolean8 as that one is simply Boolean. But
there is also a Boole
17 matches
Mail list logo