abfAddReal()
Appends an integer value to the currently open component.
Syntax
void abfAddInteger(double val);
Inputs
- val
- The value to be appended.
Example
abfOpenDatatype("Acceleration");
abfOpenRequest("Head");
abfOpenComponent("X");
abfAddReal(1.0);
abfAddReal(2.0);
abfAddReal(4.0);
abfAddReal(8.0);
Comment
The value is represented in the binary format specified by abfSetPrecision() or via abfDefaultPrecision(). Unless otherwise specified, eight-byte "doubles" are used.
The results of using abfAddReal() with a component defined as integer (via abfUseFloatingPoint (0)) are undefined.