MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / setPrecision

Method setPrecision

SRC/handler/FileStream.cpp:183–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181
182
183int
184FileStream::setPrecision(int prec)
185{
186 // if (fileOpen == 0)
187 // this->open();
188
189 filePrecision = prec;
190
191 if (fileOpen != 0)
192 theFile << std::setprecision(prec);
193
194 return 0;
195}
196
197int
198FileStream::setFloatField(floatField field)

Callers 4

OPS_setPrecisionFunction · 0.45
setPrecisionFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected