> FPC 2.0.2 do not rasie exception on integer/floats division by Zero, which
> is suitable for calucaltion I currently developing. Instead, division
> return
> infinity:
>
> writeln(1/0) -> +inf
> writeln(1.0/0) -> +inf
>
> With excluding zero exception from SetExceptionMask(), it dows not turn on
FPC 2.0.2 do not rasie exception on integer/floats division by Zero, which
is suitable for calucaltion I currently developing. Instead, division return
infinity:
writeln(1/0) -> +inf
writeln(1.0/0) -> +inf
With excluding zero exception from SetExceptionMask(), it dows not turn on
the exception (u
AgeWare None wrote:
> ftp://ftp.freepascal.org/pub/fpc/dist/Source/short/compsrc.zip
>
> i realy need this to see how you can start a compiler, your new version's
> are to complex to a 16 year old boy, that not uses English every day (only
> in Development)
>
> how can i get this file.
If I unders
> Thank you very much, this solves the problem though I think that
> performance-wise it is not optimal. What is the reason for freepascal
> being not IEEE-spec compliant? Is it backwards compatibility?
FPC is IEEE-spec compliant, since all computer follow up floating point
standard. It should fol
Dimitris Apostolou wrote:
>>> when a real number overflows the program halts with EInvalidOp error.
>>> How can I make the program behave the more standard way, where the
>>> variable gets the value "inf" and execution continues normally? This
> is
>>> vital for many tasks, like fractal computatio
> I try to crosscompile in win32 to linux with fpc 2.1.1.
> I use the options: -Sd -B -Tlinux
>
> The compiler compiles all the sources without problem, but the linker
> reports an errror: unrecognised emulation mode: elf_i386
> this is because fpc calls ld instead of i386-linux-ld
> when i rename
ftp://ftp.freepascal.org/pub/fpc/dist/Source/short/compsrc.zip
i realy need this to see how you can start a compiler, your new version's
are to complex to a 16 year old boy, that not uses English every day (only
in Development)
how can i get this file.
ftp://ftp.freepascal.org/pub/fpc/dist/So
> > when a real number overflows the program halts with EInvalidOp error.
> > How can I make the program behave the more standard way, where the
> > variable gets the value "inf" and execution continues normally? This
is
> > vital for many tasks, like fractal computation.
>
> You can use try..exc
I try to crosscompile in win32 to linux with fpc 2.1.1.
I use the options: -Sd -B -Tlinux
The compiler compiles all the sources without problem, but the linker
reports an errror: unrecognised emulation mode: elf_i386
this is because fpc calls ld instead of i386-linux-ld
when i rename i386-linux