From 00eaedf3d3597cb30742a484cf62dbf62128bf8b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 30 Jul 2015 09:04:06 +0200 Subject: Umbenennung: gExtended -> gDouble; Einfuegung: gExtended --- lowlevelunit.pas | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lowlevelunit.pas') diff --git a/lowlevelunit.pas b/lowlevelunit.pas index 8708768..feeea4d 100644 --- a/lowlevelunit.pas +++ b/lowlevelunit.pas @@ -5,7 +5,7 @@ unit lowlevelunit; interface uses - math, Classes, SysUtils, gmp, RegExpr, process, agg_2D, FPimage, agg_basics; + math, Classes, SysUtils, gmp, RegExpr, process, FPimage, agg_basics; type generic tArray = array of T; @@ -21,6 +21,7 @@ type pTExtPointArray = ^tExtPointArray; tExtendedArray = specialize tArray; pTExtendedArray = ^tExtendedArray; + tDoubleArray = specialize tArray; tInt32Array = specialize tArray; tByteArray = specialize tArray; tStringArray = specialize tArray; @@ -33,7 +34,7 @@ type tRgbArray = specialize tArray; tKodierung = (kUnbekannt,k32BitSignedInteger); tWarnstufe = (wsStreng,wsLasch); - tGenauigkeit = (gSingle,gExtended); + tGenauigkeit = (gSingle,gDouble,gExtended); function signSqr(x: extended): extended; inline; function mpfToStr(f: mpf_t): string; @@ -425,6 +426,11 @@ begin gen:=gSingle; exit; end; + if s='double' then + begin + gen:=gDouble; + exit; + end; if s='extended' then begin gen:=gExtended; -- cgit v1.2.3-70-g09d2