Loading...
Searching...
No Matches
types.hpp
Go to the documentation of this file.
1#pragma once
2
3namespace terra {
4using real_t = double;
5
6/// @brief Cast to type real_t using "real_c(x)".
7template < typename T >
9{
10 return static_cast< real_t >( t );
11}
12} // namespace terra
Definition buffer_copy_kernels.hpp:5
double real_t
Definition types.hpp:4
real_t real_c(T t)
Cast to type real_t using "real_c(x)".
Definition types.hpp:8