summaryrefslogtreecommitdiff
path: root/lowlevelunit.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2015-07-30 09:04:06 +0200
committerErich Eckner <git@eckner.net>2015-07-30 09:04:06 +0200
commit00eaedf3d3597cb30742a484cf62dbf62128bf8b (patch)
tree8d1e57e5926ca0a5e3b0e5171e4c9ee0b47ad166 /lowlevelunit.pas
parent18ca3940994716110e0ed95ac17adc7a53b39397 (diff)
downloadunits-00eaedf3d3597cb30742a484cf62dbf62128bf8b.tar.xz
Umbenennung: gExtended -> gDouble; Einfuegung: gExtended
Diffstat (limited to 'lowlevelunit.pas')
-rw-r--r--lowlevelunit.pas10
1 files changed, 8 insertions, 2 deletions
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<T> = array of T;
@@ -21,6 +21,7 @@ type
pTExtPointArray = ^tExtPointArray;
tExtendedArray = specialize tArray<extended>;
pTExtendedArray = ^tExtendedArray;
+ tDoubleArray = specialize tArray<single>;
tInt32Array = specialize tArray<int32>;
tByteArray = specialize tArray<byte>;
tStringArray = specialize tArray<string>;
@@ -33,7 +34,7 @@ type
tRgbArray = specialize tArray<tRGB>;
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;