style: use tab replace spaces
every one could change the length of tab but not of space
This commit is contained in:
@ -1,31 +1,31 @@
|
||||
#pragma once
|
||||
#include "bit.h"
|
||||
#include "bit_impl.h"
|
||||
#include "wire.h"
|
||||
#include "operator.h"
|
||||
#include "register.h"
|
||||
#include "synchronize.h"
|
||||
#include "operator.h"
|
||||
#include "wire.h"
|
||||
|
||||
using dark::Bit;
|
||||
using dark::sign_extend;
|
||||
using dark::zero_extend;
|
||||
|
||||
using dark::Wire;
|
||||
using dark::Register;
|
||||
using dark::Wire;
|
||||
|
||||
using dark::SyncTags;
|
||||
using dark::sync_member;
|
||||
using dark::SyncTags;
|
||||
using dark::Visitor;
|
||||
|
||||
using dark::max_size_t;
|
||||
using dark::max_ssize_t;
|
||||
|
||||
template <dark::concepts::bit_type _Tp>
|
||||
template<dark::concepts::bit_type _Tp>
|
||||
constexpr auto to_unsigned(const _Tp &x) {
|
||||
return static_cast<dark::max_size_t>(x);
|
||||
return static_cast<dark::max_size_t>(x);
|
||||
}
|
||||
|
||||
template <dark::concepts::bit_type _Tp>
|
||||
template<dark::concepts::bit_type _Tp>
|
||||
constexpr auto to_signed(const _Tp &x) {
|
||||
return static_cast<dark::max_ssize_t>(to_unsigned(x));
|
||||
return static_cast<dark::max_ssize_t>(to_unsigned(x));
|
||||
}
|
||||
|
Reference in New Issue
Block a user