当前位置: 首页 > news >正文

企业网站设计分类网页界面设计使用色彩的作用是什么

企业网站设计分类,网页界面设计使用色彩的作用是什么,做网盟的网站必须备案,厦门建网站公司数值极限 std::numeric_limits 定义于头文件 limits 定义于头文件 limits template class T class numeric_limits; numeric_limits 类模板提供查询各种算术类型属性的标准化方式#xff08;例如 int 类型的最大可能值是 std::numeric_limitslimits 定义于头文件 limits template class T class numeric_limits; numeric_limits 类模板提供查询各种算术类型属性的标准化方式例如 int 类型的最大可能值是 std::numeric_limitsint::max() 。   10 的该数次幂是合法正规浮点值的最小负数 std::numeric_limitsT::min_exponent10 static const int min_exponent10; (C11 前) static constexpr int min_exponent10; (C11 起) std::numeric_limitsT::min_exponent10 的值是满足 10n是浮点类型 T 的合法正规值的最低负数 n 。 标准特化 Tstd::numeric_limitsT::min_exponent10 的值/* non-specialized */​0​bool​0​char​0​signed char​0​unsigned char​0​wchar_t​0​char8_t​0​char16_t​0​char32_t​0​short​0​unsigned short​0​int​0​unsigned int​0​long​0​unsigned long​0​long long​0​unsigned long long​0​floatFLT_MIN_10_EXPdoubleDBL_MIN_10_EXPlong doubleLDBL_MIN_10_EXP 调用示例 #include iostream #include string #include limits #include cstdint #include cfloatstruct SName { };//偏特化 struct SPartSpec { };namespace std { template struct numeric_limitsSPartSpec {static _GLIBCXX_USE_CONSTEXPR bool is_specialized true;static _GLIBCXX_USE_CONSTEXPR bool is_signed true;static _GLIBCXX_USE_CONSTEXPR bool is_integer true;static _GLIBCXX_USE_CONSTEXPR bool is_exact true;static _GLIBCXX_USE_CONSTEXPR bool has_infinity true;static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN true;static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN true;static _GLIBCXX_USE_CONSTEXPR float_denorm_style has_denorm denorm_present;static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss true;static _GLIBCXX_USE_CONSTEXPR float_round_style round_style round_toward_neg_infinity;static _GLIBCXX_USE_CONSTEXPR bool is_iec559 true;static _GLIBCXX_USE_CONSTEXPR bool is_bounded true;static _GLIBCXX_USE_CONSTEXPR bool is_modulo true;static _GLIBCXX_USE_CONSTEXPR int digits CHAR_BIT;static _GLIBCXX_USE_CONSTEXPR int digits10 CHAR_BIT;static _GLIBCXX_USE_CONSTEXPR int max_digits10 DECIMAL_DIG;static _GLIBCXX_USE_CONSTEXPR int radix FLT_RADIX;static _GLIBCXX_USE_CONSTEXPR int min_exponent FLT_MIN_EXP;static _GLIBCXX_USE_CONSTEXPR int min_exponent10 FLT_MIN_10_EXP; }; }int main() {std::cout std::boolalpha;std::cout std::numeric_limitsbool::min_exponent10: std::numeric_limitsbool::min_exponent10 std::endl;std::cout std::numeric_limitschar::min_exponent10: std::numeric_limitschar::min_exponent10 std::endl;std::cout std::numeric_limitssigned char::min_exponent10: std::numeric_limitssigned char::min_exponent10 std::endl;std::cout std::numeric_limitsunsigned char::min_exponent10: std::numeric_limitsunsigned char::min_exponent10 std::endl;std::cout std::numeric_limitswchar_t::min_exponent10: std::numeric_limitswchar_t::min_exponent10 std::endl;std::cout std::numeric_limitschar16_t::min_exponent10: std::numeric_limitschar16_t::min_exponent10 std::endl;std::cout std::numeric_limitschar32_t::min_exponent10: std::numeric_limitschar32_t::min_exponent10 std::endl;std::cout std::numeric_limitsshort::min_exponent10: std::numeric_limitsshort::min_exponent10 std::endl;std::cout std::numeric_limitsunsigned short::min_exponent10: std::numeric_limitsunsigned short::min_exponent10 std::endl;std::cout std::numeric_limitsint::min_exponent10: std::numeric_limitsint::min_exponent10 std::endl;std::cout std::numeric_limitsunsigned int::min_exponent10: std::numeric_limitsunsigned int::min_exponent10 std::endl;std::cout std::numeric_limitslong::min_exponent10: std::numeric_limitslong::min_exponent10 std::endl;std::cout std::numeric_limitsunsigned long::min_exponent10: std::numeric_limitsunsigned long::min_exponent10 std::endl;std::cout std::numeric_limitslong long::min_exponent10: std::numeric_limitslong long::min_exponent10 std::endl;std::cout std::numeric_limitsunsigned long long::min_exponent10: std::numeric_limitsunsigned long long::min_exponent10 std::endl;std::cout std::numeric_limitsfloat::min_exponent10: std::numeric_limitsfloat::min_exponent10 std::endl;std::cout std::numeric_limitsdouble::min_exponent10: std::numeric_limitsdouble::min_exponent10 std::endl;std::cout std::numeric_limitslong double::min_exponent10: std::numeric_limitslong double::min_exponent10 std::endl;std::cout std::numeric_limitsstd::string::min_exponent10: std::numeric_limitsstd::string::min_exponent10 std::endl;std::cout std::numeric_limitsSName::min_exponent10: std::numeric_limitsSName::min_exponent10 std::endl;std::cout std::numeric_limitsSPartSpec::min_exponent10: std::numeric_limitsSPartSpec::min_exponent10 std::endl;return 0; } 输出 底的该数次幂是合法有限浮点值的最大整数加一 std::numeric_limitsT::max_exponent static const int max_exponent; (C11 前) static constexpr int max_exponent; (C11 起) std::numeric_limitsT::max_exponent 的值是满足 rn-1是浮点类型 T 的可表示有限值最大正整数 n 其中 r 是 std::numeric_limitsT::radix 。 标准特化 Tstd::numeric_limitsT::max_exponent 的值/* non-specialized */​0​bool​0​char​0​signed char​0​unsigned char​0​wchar_t​0​char8_t​0​char16_t​0​char32_t​0​short​0​unsigned short​0​int​0​unsigned int​0​long​0​unsigned long​0​long long​0​unsigned long long​0​floatFLT_MAX_EXPdoubleDBL_MAX_EXPlong doubleLDBL_MAX_EXP 调用示例 #include iostream #include string #include limits #include cstdint #include cfloatstruct SName { };//偏特化 struct SPartSpec { };namespace std { template struct numeric_limitsSPartSpec {static _GLIBCXX_USE_CONSTEXPR bool is_specialized true;static _GLIBCXX_USE_CONSTEXPR bool is_signed true;static _GLIBCXX_USE_CONSTEXPR bool is_integer true;static _GLIBCXX_USE_CONSTEXPR bool is_exact true;static _GLIBCXX_USE_CONSTEXPR bool has_infinity true;static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN true;static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN true;static _GLIBCXX_USE_CONSTEXPR float_denorm_style has_denorm denorm_present;static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss true;static _GLIBCXX_USE_CONSTEXPR float_round_style round_style round_toward_neg_infinity;static _GLIBCXX_USE_CONSTEXPR bool is_iec559 true;static _GLIBCXX_USE_CONSTEXPR bool is_bounded true;static _GLIBCXX_USE_CONSTEXPR bool is_modulo true;static _GLIBCXX_USE_CONSTEXPR int digits CHAR_BIT;static _GLIBCXX_USE_CONSTEXPR int digits10 CHAR_BIT;static _GLIBCXX_USE_CONSTEXPR int max_digits10 DECIMAL_DIG;static _GLIBCXX_USE_CONSTEXPR int radix FLT_RADIX;static _GLIBCXX_USE_CONSTEXPR int min_exponent FLT_MIN_EXP;static _GLIBCXX_USE_CONSTEXPR int min_exponent10 FLT_MIN_10_EXP;static _GLIBCXX_USE_CONSTEXPR int max_exponent FLT_MAX_EXP; }; }int main() {std::cout std::boolalpha;std::cout std::numeric_limitsbool::max_exponent: std::numeric_limitsbool::max_exponent std::endl;std::cout std::numeric_limitschar::max_exponent: std::numeric_limitschar::max_exponent std::endl;std::cout std::numeric_limitssigned char::max_exponent: std::numeric_limitssigned char::max_exponent std::endl;std::cout std::numeric_limitsunsigned char::max_exponent: std::numeric_limitsunsigned char::max_exponent std::endl;std::cout std::numeric_limitswchar_t::max_exponent: std::numeric_limitswchar_t::max_exponent std::endl;std::cout std::numeric_limitschar16_t::max_exponent: std::numeric_limitschar16_t::max_exponent std::endl;std::cout std::numeric_limitschar32_t::max_exponent: std::numeric_limitschar32_t::max_exponent std::endl;std::cout std::numeric_limitsshort::max_exponent: std::numeric_limitsshort::max_exponent std::endl;std::cout std::numeric_limitsunsigned short::max_exponent: std::numeric_limitsunsigned short::max_exponent std::endl;std::cout std::numeric_limitsint::max_exponent: std::numeric_limitsint::max_exponent std::endl;std::cout std::numeric_limitsunsigned int::max_exponent: std::numeric_limitsunsigned int::max_exponent std::endl;std::cout std::numeric_limitslong::max_exponent: std::numeric_limitslong::max_exponent std::endl;std::cout std::numeric_limitsunsigned long::max_exponent: std::numeric_limitsunsigned long::max_exponent std::endl;std::cout std::numeric_limitslong long::max_exponent: std::numeric_limitslong long::max_exponent std::endl;std::cout std::numeric_limitsunsigned long long::max_exponent: std::numeric_limitsunsigned long long::max_exponent std::endl;std::cout std::numeric_limitsfloat::max_exponent: std::numeric_limitsfloat::max_exponent std::endl;std::cout std::numeric_limitsdouble::max_exponent: std::numeric_limitsdouble::max_exponent std::endl;std::cout std::numeric_limitslong double::max_exponent: std::numeric_limitslong double::max_exponent std::endl;std::cout std::numeric_limitsstd::string::max_exponent: std::numeric_limitsstd::string::max_exponent std::endl;std::cout std::numeric_limitsSName::max_exponent: std::numeric_limitsSName::max_exponent std::endl;std::cout std::numeric_limitsSPartSpec::max_exponent: std::numeric_limitsSPartSpec::max_exponent std::endl;return 0; } 输出 10 的该数次幂是合法有限浮点值的最大整数 std::numeric_limitsT::max_exponent10 std::numeric_limitsT::max_exponent10 的值是满足 10n是浮点类型 T 的可表示有限值的最大正整数 n 。 标准特化 Tstd::numeric_limitsT::max_exponent10 的值/* non-specialized */​0​bool​0​char​0​signed char​0​unsigned char​0​wchar_t​0​char8_t​0​char16_t​0​char32_t​0​short​0​unsigned short​0​int​0​unsigned int​0​long​0​unsigned long​0​long long​0​unsigned long long​0​floatFLT_MAX_10_EXPdoubleDBL_MAX_10_EXPlong doubleLDBL_MAX_10_EXP 调用示例 #include iostream #include string #include limits #include cstdint #include cfloatstruct SName { };//偏特化 struct SPartSpec { };namespace std { template struct numeric_limitsSPartSpec {static _GLIBCXX_USE_CONSTEXPR bool is_specialized true;static _GLIBCXX_USE_CONSTEXPR bool is_signed true;static _GLIBCXX_USE_CONSTEXPR bool is_integer true;static _GLIBCXX_USE_CONSTEXPR bool is_exact true;static _GLIBCXX_USE_CONSTEXPR bool has_infinity true;static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN true;static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN true;static _GLIBCXX_USE_CONSTEXPR float_denorm_style has_denorm denorm_present;static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss true;static _GLIBCXX_USE_CONSTEXPR float_round_style round_style round_toward_neg_infinity;static _GLIBCXX_USE_CONSTEXPR bool is_iec559 true;static _GLIBCXX_USE_CONSTEXPR bool is_bounded true;static _GLIBCXX_USE_CONSTEXPR bool is_modulo true;static _GLIBCXX_USE_CONSTEXPR int digits CHAR_BIT;static _GLIBCXX_USE_CONSTEXPR int digits10 CHAR_BIT;static _GLIBCXX_USE_CONSTEXPR int max_digits10 DECIMAL_DIG;static _GLIBCXX_USE_CONSTEXPR int radix FLT_RADIX;static _GLIBCXX_USE_CONSTEXPR int min_exponent FLT_MIN_EXP;static _GLIBCXX_USE_CONSTEXPR int min_exponent10 FLT_MIN_10_EXP;static _GLIBCXX_USE_CONSTEXPR int max_exponent FLT_MAX_EXP;static _GLIBCXX_USE_CONSTEXPR int max_exponent10 FLT_MAX_EXP; }; }int main() {std::cout std::boolalpha;std::cout std::numeric_limitsbool::max_exponent10: std::numeric_limitsbool::max_exponent10 std::endl;std::cout std::numeric_limitschar::max_exponent10: std::numeric_limitschar::max_exponent10 std::endl;std::cout std::numeric_limitssigned char::max_exponent10: std::numeric_limitssigned char::max_exponent10 std::endl;std::cout std::numeric_limitsunsigned char::max_exponent10: std::numeric_limitsunsigned char::max_exponent10 std::endl;std::cout std::numeric_limitswchar_t::max_exponent10: std::numeric_limitswchar_t::max_exponent10 std::endl;std::cout std::numeric_limitschar16_t::max_exponent10: std::numeric_limitschar16_t::max_exponent10 std::endl;std::cout std::numeric_limitschar32_t::max_exponent10: std::numeric_limitschar32_t::max_exponent10 std::endl;std::cout std::numeric_limitsshort::max_exponent10: std::numeric_limitsshort::max_exponent10 std::endl;std::cout std::numeric_limitsunsigned short::max_exponent10: std::numeric_limitsunsigned short::max_exponent10 std::endl;std::cout std::numeric_limitsint::max_exponent10: std::numeric_limitsint::max_exponent10 std::endl;std::cout std::numeric_limitsunsigned int::max_exponent10: std::numeric_limitsunsigned int::max_exponent10 std::endl;std::cout std::numeric_limitslong::max_exponent10: std::numeric_limitslong::max_exponent10 std::endl;std::cout std::numeric_limitsunsigned long::max_exponent10: std::numeric_limitsunsigned long::max_exponent10 std::endl;std::cout std::numeric_limitslong long::max_exponent10: std::numeric_limitslong long::max_exponent10 std::endl;std::cout std::numeric_limitsunsigned long long::max_exponent10: std::numeric_limitsunsigned long long::max_exponent10 std::endl;std::cout std::numeric_limitsfloat::max_exponent10: std::numeric_limitsfloat::max_exponent10 std::endl;std::cout std::numeric_limitsdouble::max_exponent10: std::numeric_limitsdouble::max_exponent10 std::endl;std::cout std::numeric_limitslong double::max_exponent10: std::numeric_limitslong double::max_exponent10 std::endl;std::cout std::numeric_limitsstd::string::max_exponent10: std::numeric_limitsstd::string::max_exponent10 std::endl;std::cout std::numeric_limitsSName::max_exponent10: std::numeric_limitsSName::max_exponent10 std::endl;std::cout std::numeric_limitsSPartSpec::max_exponent10: std::numeric_limitsSPartSpec::max_exponent10 std::endl;return 0; } 输出
http://www.tj-hxxt.cn/news/142687.html

相关文章:

  • 泉州哪里有搭建网站的公司苏州市住房和建设局网站
  • 韩国设计公司网站网站建设的基本步骤
  • 营销网站建设计算机专业主要学什么课程
  • shopnc本地生活o2o网站系统seo营销怎么做
  • 长沙网站托管哪家好wordpress 菜单分类
  • 建站服务网络公司校园二手市场网站开发
  • 网站做sem能够提高收录量吗做网站计划
  • 网站做好了该怎么做网站项目流程
  • 做一个网站维护多少钱高密建设局网站
  • 郑州seo线下培训网站建设优化排名推广
  • 网站开发与设计 课程简介WordPress 整合源码
  • 专门做门的网站开网站赚钱
  • 网站备案和服务器备案建公司网站设计网站公司
  • 建设学院实验网站的作用wordpress显示图片
  • 一 电子商务网站建设规划装修公司网站asp源码
  • 网站推广的优缺点江苏建筑网站
  • 做废钢铁生意在哪个网站了解《网页设计与网站建设》
  • 如何承接网站建设外包如何免费注册企业邮箱
  • 北流网站j2ee 建设简单网站
  • wap网站分享到微信做网站推广复杂吗
  • 360网站建设公司山东食品行业网站开发
  • 青岛市做网站优化易语言可以做网站么
  • 商业网站设计与制作论文wordpress投稿页面路径怎么
  • 专门做校招的网站广告设计与制作就业方向是什么
  • 上海徐汇网站建设公司2022一级造价停考
  • 郑州官网网站优化公司百度百科创建入口
  • 网站怎么做会让神马搜索到新注册的公司怎么做网站
  • 网站开发项目中的rd英语培训机构
  • 做电影网站用什么源码2022网页游戏
  • 聚美优品的网站建设状况电商网站 设计方案