MCPcopy Create free account
hub / github.com/MikeLankamp/fpm / csv_output

Method csv_output

accuracy/accuracy.cpp:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38{
39public:
40 explicit csv_output(const std::string& filename)
41 : m_stream(filename)
42 {
43 m_stream.setf(std::ios::fixed);
44 m_stream.precision(12);
45 m_stream << "x,real,Q24.8,Q20.12,Q16.16,Q8.24,fix16\n";
46 }
47
48 void write_row(double x, double y_real, double y_q24_8, double y_q20_12, double y_q16_16, double y_q8_24, double y_fix16)
49 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected