2#ifndef STORMM_POLYNUMERIC_H
3#define STORMM_POLYNUMERIC_H
7#include "DataTypes/common_types.h"
8#include "DataTypes/stormm_vector_types.h"
9#include "Reporting/error_format.h"
10#include "parsing_enumerators.h"
15using data_types::getStormmHpcVectorTypeName;
16using data_types::isFloatingPointScalarType;
17using data_types::isHpcVectorType;
18using data_types::isScalarType;
19using data_types::isSignedIntegralScalarType;
20using data_types::isUnsignedIntegralScalarType;
30 unsigned long long int ulli;
37std::vector<double> doubleFromPolyNumeric(
const std::vector<PolyNumeric> &values);
42std::vector<int> intFromPolyNumeric(
const std::vector<PolyNumeric> &values);
47std::vector<llint> llintFromPolyNumeric(
const std::vector<PolyNumeric> &values);
52std::vector<uint> uintFromPolyNumeric(
const std::vector<PolyNumeric> &values);
57std::vector<ullint> ullintFromPolyNumeric(
const std::vector<PolyNumeric> &values);
62std::vector<char4> char4FromPolyNumeric(
const std::vector<PolyNumeric> &values);
69std::vector<PolyNumeric> polyNumericVector(
const std::vector<char4> &values);
75std::string nameNumericalType(NumberFormat cform);
81std::string nameNumberFormat(NumberFormat cform);
86template <
typename T> std::vector<PolyNumeric> polyNumericVector(
const std::vector<T> &values);
96PolyNumeric extractFormattedNumber(
const char* a, NumberFormat cform,
int read_begin = 0,
102#include "polynumeric.tpp"
Definition stormm_vector_types.h:141
Definition stormm_vector_types.h:58
Union for storing numbers or other 4-8 byte pieces of information.
Definition polynumeric.h:23