On Sat, 11 Mar 2006 13:44:52 +0100, Pianoman wrote:
>Hi, I need to perform very fast squareroot (sqrt) operations on double type
>nukmbers.
>I tried this
>function mysqrt(a:double):double;
>var y,yn:double;
>begin
>yn:=a;
>repeat
>y:=yn;
>yn:=(y*y+a)/(2*y);
>until abs(yn-y) < 10e-16;
>mysqrt:=yn;
Hello,
Would you guys please add a serial communication tutorial in this wiki page:
http://wiki.lazarus.freepascal.org/index.php/Hardware_Access#Serial_Communication
I wrote the parallel part of the tutorial, but I know nothing about
serial comm and I would be very thankful =)
thanks,
--
Felipe
... fails building binutils for multiple platforms under some
conditions.
System: Intel-P4 / Linux Kernel 2.6.x
Details:
## binutils-2.14 ##
- Builds fine (except some openbsd and sparc-bsd targets) with gcc3.3.5
(suse 9.3)
- Fails when using gcc4.0.2 (Suse10)
Example:
$ cat log-i686-cygwi
On Sat, 11 Mar 2006, Vincent Snijders wrote:
> Michael Van Canneyt wrote:
> >
> > On Fri, 10 Mar 2006, Vincent Snijders wrote:
> >
> >
> > > Hi,
> > >
> > > If I use the makeskel --update parameter, what is the best way to
> > > merge
> > > the resulting file to the existing file?
> >
> >
Resending second time, was blocked again:
Am Samstag, den 11.03.2006, 12:26 +0100 schrieb Marco van de Voort:
> > Note the line in pascal saying "c_line: char" which is missing in the
> > systems declaration. This is an error, insn't it?
>
> I think so. Can you verify that it works with that lin
Michael Van Canneyt wrote:
On Fri, 10 Mar 2006, Vincent Snijders wrote:
Hi,
If I use the makeskel --update parameter, what is the best way to merge
the resulting file to the existing file?
Copy and paste.
OK, that is not very comfortable. I know a new feature for lazde :-)
Vincent
___
Resending, was blocked:
Am Samstag, den 11.03.2006, 12:26 +0100 schrieb Marco van de Voort:
> > Note the line in pascal saying "c_line: char" which is missing in the
> > systems declaration. This is an error, insn't it?
>
> I think so. Can you verify that it works with that line commented?
It l
Hi, I need to perform very fast squareroot (sqrt) operations on double type
nukmbers.
I tried this
function mysqrt(a:double):double;
var y,yn:double;
begin
yn:=a;
repeat
y:=yn;
yn:=(y*y+a)/(2*y);
until abs(yn-y) < 10e-16;
mysqrt:=yn;
end;
but it is quite slow (FPC uses Heron iterations) which is 10
> Note the line in pascal saying "c_line: char" which is missing in the
> systems declaration. This is an error, insn't it?
I think so. Can you verify that it works with that line commented?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
h