fixed: dont scale inputs in from_native calls
This commit is contained in:
parent
6fee487bc0
commit
1d2d32e016
@ -81,7 +81,9 @@ template <unsigned I, unsigned E>
|
||||
fixed<I,E>
|
||||
fixed<I,E>::from_native (uint_t i)
|
||||
{
|
||||
return fixed<I,E> {i};
|
||||
fixed<I,E> v;
|
||||
v.m_value = i;
|
||||
return v;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user