// cstdlib standard header (core)// Copyright (c) Microsoft Corporation.// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception#pragma once#ifndef _CSTDLIB_#define _CSTDLIB_#include<yvals_core.h>#if _STL_COMPILER_PREPROCESSOR#include<math.h>#include<stdlib.h>#pragma pack(push, _CRT_PACKING)#pragmawarning(push, _STL_WARNING_LEVEL)#pragmawarning(disable : _STL_DISABLED_WARNINGS)
_STL_DISABLE_CLANG_WARNINGS
#pragma push_macro("new")#undef new// <stdlib.h> has abs(long) and abs(long long)_NODISCARD _Check_return_ inlinedoubleabs(_In_ double _Xx)noexcept/* strengthened */{
return _CSTD fabs(_Xx);
}
_NODISCARD _Check_return_ inlinefloatabs(_In_ float _Xx)noexcept/* strengthened */{
return _CSTD fabsf(_Xx);
}
_NODISCARD _Check_return_ inlinelongdoubleabs(_In_ longdouble _Xx)noexcept/* strengthened */{
return _CSTD fabsl(_Xx);
}
_STD_BEGIN
using _CSTD size_t;
using _CSTD div_t;
using _CSTD ldiv_t;
using _CSTD abort;
using _CSTD abs;
using _CSTD atexit;
using _CSTD atof;
using _CSTD atoi;
using _CSTD atol;
using _CSTD bsearch;
using _CSTD calloc;
using _CSTD div;
using _CSTD exit;
using _CSTD free;
using _CSTD labs;
using _CSTD ldiv;
using _CSTD malloc;
using _CSTD mblen;
using _CSTD mbstowcs;
using _CSTD mbtowc;
using _CSTD qsort;
using _CSTD rand;
using _CSTD realloc;
using _CSTD srand;
using _CSTD strtod;
using _CSTD strtol;
using _CSTD strtoul;
using _CSTD wcstombs;
using _CSTD wctomb;
using _CSTD lldiv_t;
#ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APPusing _CSTD getenv;
using _CSTD system;
#endif// _CRT_USE_WINAPI_FAMILY_DESKTOP_APPusing _CSTD atoll;
using _CSTD llabs;
using _CSTD lldiv;
using _CSTD strtof;
using _CSTD strtold;
using _CSTD strtoll;
using _CSTD strtoull;
using _CSTD _Exit;
using _CSTD at_quick_exit;
using _CSTD quick_exit;
_STD_END
#pragma pop_macro("new")
_STL_RESTORE_CLANG_WARNINGS
#pragmawarning(pop)#pragma pack(pop)#endif// _STL_COMPILER_PREPROCESSOR#endif// _CSTDLIB_
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 从二进制到误差:逐行拆解C语言浮点运算中的4008175468544之谜
· .NET制作智能桌面机器人:结合BotSharp智能体框架开发语音交互
· 软件产品开发中常见的10个问题及处理方法
· .NET 原生驾驭 AI 新基建实战系列:向量数据库的应用与畅想
· 从问题排查到源码分析:ActiveMQ消费端频繁日志刷屏的秘密
· 《HelloGitHub》第 108 期
· Windows桌面应用自动更新解决方案SharpUpdater5发布
· 我的家庭实验室服务器集群硬件清单
· C# 13 中的新增功能实操
· Supergateway:MCP服务器的远程调试与集成工具