mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-15 00:18:17 -05:00
16 lines
215 B
C++
16 lines
215 B
C++
/*
|
|
* FixInput.cpp
|
|
*
|
|
*/
|
|
|
|
#include "FixInput.h"
|
|
|
|
const char* FixInput::NAME = "real number";
|
|
|
|
void FixInput::read(std::istream& in, const int* params)
|
|
{
|
|
mpf_class x;
|
|
in >> x;
|
|
items[0] = x << *params;
|
|
}
|