"Vinzent H?fler" wrote:
Graeme Geldenhuys :
Any programmer worth hiring should find it relatively easy to switch
to another language. Or and least become proficient in it in a
relative short period of time. The basic principles apply to all
languages, it's just the tool-chain and syntax t
Hello,
Please continue this thread to the fpc-other mailing list. This list
is for discussions about *programming* in Pascal and FPC, and moreover
language advocacy threads have a tendency to drown everything else by
the sheer volume of posts they elicit.
Thanks,
Jonas
FPC mailing lists
On Sat, Oct 17, 2009 at 01:57:28PM +0200, Bart wrote:
>
> Is there a reason why in fpc both floating point and integer division
> by zero raise an EDivByZero exception?
>
> See: http://docwiki.embarcadero.com/VCL/en/SysUtils.EZeroDivide
>
> SysUtils.EZeroDivide exception is raised when an applic
Wouldnt a NaN (Not a number) be more "matematically correct" result (I saw
that on an old book about i387)
Matematically division by zero is an "mathematical impossibility", so NaN
would be more logical
Is there a way to deal with NaN's and other i387 (and similars) conventions
directly in Pascal
Is there a way to deal with NaN's and other i387 (and similars)
conventions directly in Pascal ?
Yes, if not yet possible (I didn't have a closer look) I would like to
have that too. But I think it's heavily depending on the processor...
(Details about NaN's and infinity at http://en.wikipedi
On Sun, Oct 18, 2009 at 18:49, Jorge Aldo G. de F. Junior
wrote:
> Wouldnt a NaN (Not a number) be more "matematically correct" result (I saw
> that on an old book about i387)
>
> Matematically division by zero is an "mathematical impossibility", so NaN
> would be more logical
>
> Is there a way t
> That may be because it is no longer possible to write a BNF grammar for
> these compilers due to the c-style extensions.
AFAIK if a parser can be made for an extension, so is the grammar.
> There are some language constructs that is simply not posible with a LL(1)
> parser,
> when comparing to