Commit 30c70859 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

refer to cmath

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1470
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 49ed5818
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: sffxx.h,v 1.10 2004-01-30 14:45:49 tforb Exp $
* $Id: sffxx.h,v 1.11 2004-02-02 09:49:03 tforb Exp $
* \author Thomas Forbriger
* \date 21/12/2003
*
......@@ -29,9 +29,10 @@
#define TF_SFFXX_H_VERSION \
"TF_SFFXX_H V1.2 "
#define TF_SFFXX_H_CVSID \
"$Id: sffxx.h,v 1.10 2004-01-30 14:45:49 tforb Exp $"
"$Id: sffxx.h,v 1.11 2004-02-02 09:49:03 tforb Exp $"
#include<string>
#include<cmath>
#include<list>
#include<iostream>
#include<libtime++.h>
......@@ -357,9 +358,9 @@ namespace sff {
{
data= *i;
if (Mheader.scale())
{ idata=int(round(data/Mheader.dast().ampfac)); }
{ idata=int(std::round(data/Mheader.dast().ampfac)); }
else
{ idata=int(round(data)); }
{ idata=int(std::round(data)); }
os << fwriter(idata);
}
Mheader.writetrailer(os);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment