From bf2e145ed1bb405b55752f7720f198373307ad3c Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 18 Jan 2001 23:23:43 +0000 Subject: [PATCH] use 64 bit floats --- src/cas/example/simple/exPV.cc | 2 +- src/cas/example/simple/exScalarPV.cc | 2 +- src/cas/example/simple/exVectorPV.cc | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cas/example/simple/exPV.cc b/src/cas/example/simple/exPV.cc index 7d2112750..b1c606555 100644 --- a/src/cas/example/simple/exPV.cc +++ b/src/cas/example/simple/exPV.cc @@ -145,7 +145,7 @@ const char *exScanTimer::name() const // aitEnum exPV::bestExternalType() const { - return aitEnumFloat32; + return aitEnumFloat64; } // diff --git a/src/cas/example/simple/exScalarPV.cc b/src/cas/example/simple/exScalarPV.cc index 7a521eedf..e58ab0521 100644 --- a/src/cas/example/simple/exScalarPV.cc +++ b/src/cas/example/simple/exScalarPV.cc @@ -42,7 +42,7 @@ void exScalarPV::scan() // this->currentTime = osiTime::getCurrent(); - pDD = new gddScalar (gddAppType_value, aitEnumFloat32); + pDD = new gddScalar (gddAppType_value, aitEnumFloat64); if ( ! pDD.valid () ) { return; } diff --git a/src/cas/example/simple/exVectorPV.cc b/src/cas/example/simple/exVectorPV.cc index 901f9d01f..1d4aa2470 100644 --- a/src/cas/example/simple/exVectorPV.cc +++ b/src/cas/example/simple/exVectorPV.cc @@ -69,7 +69,7 @@ void exVectorPV::scan() // this->currentTime = osiTime::getCurrent(); - pDD = new gddAtomic (gddAppType_value, aitEnumFloat32, + pDD = new gddAtomic (gddAppType_value, aitEnumFloat64, 1u, this->info.getElementCount()); if ( ! pDD.valid () ) { return; @@ -198,7 +198,7 @@ caStatus exVectorPV::updateValue(smartConstGDDPointer pValueIn) // (so that old values that may be referenced on the // event queue are not replaced) // - pNewValue = new gddAtomic (gddAppType_value, aitEnumFloat32, + pNewValue = new gddAtomic (gddAppType_value, aitEnumFloat64, 1u, this->info.getElementCount()); if ( ! pNewValue.valid () ) { return S_casApp_noMemory;