@@ -44,7 +44,6 @@ namespace details {
4444 template <typename T>
4545 inline std::uint64_t to_uint64_impl (const T& v, t_tscalar_type_tag);
4646
47-
4847#define define_unary_function_impl_header (FunctionName ) \
4948 template <typename T> \
5049 inline T FunctionName##_impl(const T v, t_tscalar_type_tag);
@@ -115,12 +114,13 @@ namespace details {
115114 define_binary_function_impl_header (nand )
116115 define_binary_function_impl_header (nor )
117116 define_binary_function_impl_header (xnor )
118- // clang-format on
117+ // clang-format on
119118
120119#undef define_binary_function_impl_header
121120
122- template <typename T>
123- inline T and_impl (const T v0, const T v1, t_tscalar_type_tag);
121+ template <typename T>
122+ inline T
123+ and_impl (const T v0, const T v1, t_tscalar_type_tag);
124124
125125 template <typename T>
126126 inline T or_impl (const T v0, const T v1, t_tscalar_type_tag);
@@ -281,11 +281,14 @@ namespace details {
281281 case perspective::t_dtype::DTYPE_INT8:
282282 return static_cast <std::int32_t >(v.get <std::int8_t >());
283283 case perspective::t_dtype::DTYPE_UINT64:
284- return static_cast <std::int32_t >(v.get <std::uint64_t >());
284+ return static_cast <std::int32_t >(v.get <std::uint64_t >()
285+ );
285286 case perspective::t_dtype::DTYPE_UINT32:
286- return static_cast <std::int32_t >(v.get <std::uint32_t >());
287+ return static_cast <std::int32_t >(v.get <std::uint32_t >()
288+ );
287289 case perspective::t_dtype::DTYPE_UINT16:
288- return static_cast <std::int32_t >(v.get <std::uint16_t >());
290+ return static_cast <std::int32_t >(v.get <std::uint16_t >()
291+ );
289292 case perspective::t_dtype::DTYPE_UINT8:
290293 return static_cast <std::int32_t >(v.get <std::uint8_t >());
291294 case perspective::t_dtype::DTYPE_FLOAT64:
@@ -313,11 +316,14 @@ namespace details {
313316 case perspective::t_dtype::DTYPE_INT8:
314317 return static_cast <std::int64_t >(v.get <std::int8_t >());
315318 case perspective::t_dtype::DTYPE_UINT64:
316- return static_cast <std::int64_t >(v.get <std::uint64_t >());
319+ return static_cast <std::int64_t >(v.get <std::uint64_t >()
320+ );
317321 case perspective::t_dtype::DTYPE_UINT32:
318- return static_cast <std::int64_t >(v.get <std::uint32_t >());
322+ return static_cast <std::int64_t >(v.get <std::uint32_t >()
323+ );
319324 case perspective::t_dtype::DTYPE_UINT16:
320- return static_cast <std::int64_t >(v.get <std::uint16_t >());
325+ return static_cast <std::int64_t >(v.get <std::uint16_t >()
326+ );
321327 case perspective::t_dtype::DTYPE_UINT8:
322328 return static_cast <std::int64_t >(v.get <std::uint8_t >());
323329 case perspective::t_dtype::DTYPE_FLOAT64:
@@ -337,21 +343,28 @@ namespace details {
337343 }
338344 switch (v.get_dtype ()) {
339345 case perspective::t_dtype::DTYPE_INT64:
340- return static_cast <std::uint64_t >(v.get <std::int64_t >());
346+ return static_cast <std::uint64_t >(v.get <std::int64_t >()
347+ );
341348 case perspective::t_dtype::DTYPE_INT32:
342- return static_cast <std::uint64_t >(v.get <std::int32_t >());
349+ return static_cast <std::uint64_t >(v.get <std::int32_t >()
350+ );
343351 case perspective::t_dtype::DTYPE_INT16:
344- return static_cast <std::uint64_t >(v.get <std::int16_t >());
352+ return static_cast <std::uint64_t >(v.get <std::int16_t >()
353+ );
345354 case perspective::t_dtype::DTYPE_INT8:
346355 return static_cast <std::uint64_t >(v.get <std::int8_t >());
347356 case perspective::t_dtype::DTYPE_UINT64:
348- return static_cast <std::uint64_t >(v.get <std::uint64_t >());
357+ return static_cast <std::uint64_t >(v.get <std::uint64_t >()
358+ );
349359 case perspective::t_dtype::DTYPE_UINT32:
350- return static_cast <std::uint64_t >(v.get <std::uint32_t >());
360+ return static_cast <std::uint64_t >(v.get <std::uint32_t >()
361+ );
351362 case perspective::t_dtype::DTYPE_UINT16:
352- return static_cast <std::uint64_t >(v.get <std::uint16_t >());
363+ return static_cast <std::uint64_t >(v.get <std::uint16_t >()
364+ );
353365 case perspective::t_dtype::DTYPE_UINT8:
354- return static_cast <std::uint64_t >(v.get <std::uint8_t >());
366+ return static_cast <std::uint64_t >(v.get <std::uint8_t >()
367+ );
355368 case perspective::t_dtype::DTYPE_FLOAT64:
356369 return static_cast <std::uint64_t >(v.get <double >());
357370 case perspective::t_dtype::DTYPE_FLOAT32:
0 commit comments