代码拉取完成,页面将自动刷新
/* net_deciaml
* The data structure is designed by Yida Xian
* Algorithm is instantiated by Diansheng Liao
*/
#pragma once
#ifndef __NET_DECIMAL__
#define __NET_DECIMAL__
#include <complex>
#include "net_set"
#define NEUNET_FFT_PI 3.1415926535897932
#define NEUNET_NTT_EULER_MOD 0x3b800001
#define NEUNET_NTT_EULER_MOD_G 0x00000003
#define NEUNET_DEC_SEG_MAX 0x8ac7230489e80000
#define NEUNET_DEC_DIV_REM 0x3b9aca00ull
#define NEUNET_DEC_MUL_POW 0x000f4240ull
#define NEUNET_DEC_MUL_SQR (NEUNET_DEC_MUL_POW * NEUNET_DEC_MUL_POW)
#define NEUNET_DEC_MUL_CUB (NEUNET_DEC_MUL_SQR * NEUNET_DEC_MUL_POW)
#define NEUNET_DEC_MUL_END (NEUNET_DEC_MUL_POW * 0x000a)
#define NEUNET_DEC_BIT_BAS 0x4563918244f40000
#define NEUNET_DEC_BIT_TOP 0x8000000000000000
#define NEUNET_DEC_DIG_MAX 0x0013
#define NEUNET_DEC_VLD_DIG 0x0010
#define NEUNET_DEC_CMP_EQL 0x0000
#define NEUNET_DEC_CMP_LES 0x0001
#define NEUNET_DEC_CMP_GTR 0x0002
#define NEUNET_DEC_BIN_OR 0x0000
#define NEUNET_DEC_BIN_AND 0x0001
#define NEUNET_DEC_BIN_XOR 0x0002
#define neunet_t_arr_len(type, arg) type[sizeof(arg) / sizeof(type)]
#define neunet_dec_init_expr std::is_arithmetic_v<arg> ||\
std::is_same_v<arg, neunet_t_arr_len(char, arg)> ||\
std::is_same_v<std::string, arg>,\
"A arithmetic or string type value is needed."
#define neunet_dec_type(type) std::remove_reference_t<type>
#define neunet_dec_num(type) std::is_arithmetic_v<\
neunet_dec_type(type)>
#define neunet_number_arg neunet_dec_num(arg)
#define neunet_dec_enable(expr) = std::enable_if_t<expr>
#define callback_dec_arg template<typename arg,\
typename neunet_dec_enable\
(neunet_number_arg)>
#define neunet_dec_loop while (true)
#include "net_decimal_data.hpp"
#include "net_decimal_base.hpp"
#include "net_decimal.hpp"
#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。