Long story short: not every single real number have an *exact*
representation in the computer. You have to live with that and learn the
limitations and pitfalls of floating point calculations.
On Mon, Aug 21, 2017 at 7:42 PM, Ralf Quint wrote:
> On 8/21/2017 3:34 PM, Daniel Franzini wr
It might be the case (I didn't do the math) that 999.999 doesn't have an
exact representation in IEEE-754 double-precision format, so the best you
get is an aproximation (a pretty good one, btw).
On Mon, Aug 21, 2017 at 7:10 PM, Ralf Quint wrote:
> On 8/21/2017 3:02 PM, James Richters wrote:
> >
Quick fix: in the download page, the link to the InnoSetup website is
wrong. Should be:
http://www.getlazarus.org/setup/www.jrsoftware.org/isinfo.php
On Wed, Feb 4, 2015 at 10:15 AM, Daniel Franzini
wrote:
> Congratulations for such initiative. Very nice. I hope this helps
> Lazarus/FPC
Congratulations for such initiative. Very nice. I hope this helps
Lazarus/FPC to get more visibility.
Just one point: I'd strongly recommend you provide a build with
stable/production versions of Lazarus and FreePascal. They are the best the
Lazarus/FPC team can offer and they have production qual
On 6/13/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
On Wed, 13 Jun 2007, Daniel Franzini wrote:
> Hi
>
> I'm not sure if you guys are aware of this but here it goes.
>
> A brazilian publisher named Editora Erica (www.erica.com.br) published
> a brand new book abou
Hi
I'm not sure if you guys are aware of this but here it goes.
A brazilian publisher named Editora Erica (www.erica.com.br) published
a brand new book about introdutory computer programming with
FreePascal.
http://www.editoraerica.com.br/buscafinal.asp?cod=1369
A (possible) translation of the
On 4/1/07, Marco van de Voort <[EMAIL PROTECTED]> wrote:
Keep in mind that the extended type has limited precision. It can contain
large values, but does so by only "remembering" the upper +/- 18 digits,
sign and exponent.
OK, i will work on that
If it is a content, I think they want you t
Hi all
I'm having some fun solving some programming problems in SPOJ
(www.spoj.pl, very very cool, check it out). The thing is that is need
to calculate some big fatorials (~100!). With FPC and the standard
integer types I was unable to perform the correct calculations because
100! is bigger than
today (quite late) i've got myself some improvements...so far i was
unable to even compile some parts od fpc within freedos (inside
virtual pc)...the IDE that comes with fpc2.0.5 does not even start at
all...now i can compile correctly all the packages needed to build the
ide (as Pierre pointed)..
for now, on MS Virtual PC with fpc2.0.5 stable for go32v2, the IDE
does not even get loaded correctly...it displays some info on compiler
and ide version, shows the nice FP screen and then exits quickly...i
will try to recompile from the sources with debug info to see exactly
where it stops (altou
On 1/12/07, Tomas Hajny <[EMAIL PROTECTED]> wrote:
In general case when using plain DOS (when using virtual DOS machines
provided by some other platforms like WinXX or OS/2, DPMI is provided
directly by the platform and interface to it is part of the VDM kernel).
The only "magic" is detection of
thanks for the help
On 1/11/07, Daniël Mantione <[EMAIL PROTECTED]> wrote:
Well, help is certainly very welcome, but note that more is needed than
one or two bug fixes. To make it a first platform again someone is needed
who really uses Dos, so he quickly notes when something is wrong and ca
this happens because windows API code usually have two versions: an Ascii
version where chars are 8-bit ASCII (with the suffix A, and used mainly in
9x code) and other where the chars are 2-byte unicode chars with the W
suffix, used mainly in 2000/XP stuff (guess W means wide in the sense of
wides
I'm trying to write some pascal code on a DOS env (FreeDOS 1.0). Is the IDE
for this plataform mantained?! The command line compiler does run fine, but
the IDE shows up and quickly disapears.
Has anyone suffered this before?!!??
--
Daniel
"Let us change our traditional attitude to the construct
On 1/11/07, Tomas Hajny <[EMAIL PROTECTED]> wrote:
Daniel Franzini wrote:
Hi Daniel,
Hi
I've had difficulties running FPC apps (probably including the compiler
itself) under FreeDOS in the past (whereas it works properly with other
DOS implementations like MS-DOS, IBM PC DOS
welllike i said before, i'm a volunteer to mantain the port...if Pierre
does need some sort of help he can call me
On 1/11/07, Jonas Maebe <[EMAIL PROTECTED]> wrote:
On 11 jan 2007, at 10:14, Daniël Mantione wrote:
> This the situation:
> * The Dos port is without a maintainer.
> * We are
On 1/11/07, Daniël Mantione <[EMAIL PROTECTED]> wrote:
This the situation:
* The Dos port is without a maintainer.
* We are still providing it because many people have need for a Dos
version
* Bugs in the Dos port are not being fixed so it is of poor quality.
well, if so i'm a volunteer to m
well
i did not wrote any code like this yet...but i do know that the so-called
rawwrite tool used for writing images of boot floppies in windowz env is
written in delphi (7 at the moment)...
since the sources are open you can browse around and see how things get done
http://www.chrysocome.net/r
Hi all
i'm trying to use fpc in a old DOS environment by using FreeDOS inside
Virtual PC (guess i should be using vmware)
the problem is that i have some low-level code which i would like to port to
fpc. FreeDOS came with fpc 2.0.2 which i think is suitable for my needs.
1.) i can't even compil
On 10/29/05, David Emerson <[EMAIL PROTECTED]> wrote:
I
think the time has come to integrate (the installations of) FPC and
Lazarus more fully. I'll first use myself as an example as to why; then
I'll present the reasons I suspect such an integration has not already
taken place, and suggest an impl
RS232 is a standard for serial communications. It sets up voltage
levels for logical 0 and 1, timming and waveforms that devices should
provide to receive/transmit data. A few weeks ago i built up and got
worked a simple RS232 device: a (old) terminal connected to the pc just
for sending and receiv
On 7/28/05, Leonhard Holz <[EMAIL PROTECTED]> wrote:
> Hello,
>
> If you compile a win32-program you will have a total virtual memory,
> that means that your pointer values don't have anything to do with the
> physical ram. A pointer associated to $a actually points to nowhere.
>
ok...thanks
no, i didn't...but it worked and the program did compiled...now, it
shows the following message
Runtime error 216 at $00401034
$00401034
but i think that this is some windows (2000) issue not FPC one...so i
ask: is there any way of running these simple examples or i will just
have to set up som
Hi everyone
I'm just trying to compile and execute a simple example from a
graphics programming tutorial under FPC. Here is the code
PROGRAM PixelExample;
{$MODE TP}
24 matches
Mail list logo