20 lines
364 B
C++
20 lines
364 B
C++
#pragma once
|
|
|
|
#include "storage/model/properties/floating.hpp"
|
|
#include "storage/model/properties/double.hpp"
|
|
|
|
class Float : public Floating<Float>
|
|
{
|
|
public:
|
|
static constexpr Flags type = Flags::Float;
|
|
|
|
Float(float value) : Floating(Flags::Float), value(value) {}
|
|
|
|
operator Double() const
|
|
{
|
|
return Double(value);
|
|
}
|
|
|
|
float value;
|
|
};
|