René's URL Explorer Experiment


Title: std::saturating_sub - cppreference.com

Generator: MediaWiki 1.43.8

direct link

Domain: en.cppreference.com

format-detectiontelephone=no

Links:

cppreference.comhttps://en.cppreference.com/
Create accounthttps://en.cppreference.com/index.php?title=Special:CreateAccount&returnto=cpp%2Fnumeric%2Fsaturating+sub
Log inhttps://en.cppreference.com/index.php?title=Special:UserLogin&returnto=cpp%2Fnumeric%2Fsaturating+sub
Pagehttps://en.cppreference.com/cpp/numeric/saturating_sub
Discussionhttps://en.cppreference.com/index.php?title=Talk:cpp/numeric/saturating_sub&action=edit&redlink=1
https://en.cppreference.com/cpp/numeric/saturating_sub
Readhttps://en.cppreference.com/cpp/numeric/saturating_sub
View sourcehttps://en.cppreference.com/index.php?title=cpp/numeric/saturating_sub&action=edit
View historyhttps://en.cppreference.com/index.php?title=cpp/numeric/saturating_sub&action=history
https://en.cppreference.com/cpp/numeric/saturating_sub
cpphttps://en.cppreference.com/cpp
numerichttps://en.cppreference.com/cpp/numeric
C++https://en.cppreference.com/cpp
Compiler supporthttps://en.cppreference.com/cpp/compiler_support
Freestanding and hostedhttps://en.cppreference.com/cpp/freestanding
Languagehttps://en.cppreference.com/cpp/language
Standard libraryhttps://en.cppreference.com/cpp/standard_library
Standard library headershttps://en.cppreference.com/cpp/header
Named requirementshttps://en.cppreference.com/cpp/named_req
Feature test macroshttps://en.cppreference.com/cpp/feature_test
Language support libraryhttps://en.cppreference.com/cpp/utility#Language_support
Concepts libraryhttps://en.cppreference.com/cpp/concepts
Diagnostics libraryhttps://en.cppreference.com/cpp/error
Memory management libraryhttps://en.cppreference.com/cpp/memory
Metaprogramming libraryhttps://en.cppreference.com/cpp/meta
General utilities libraryhttps://en.cppreference.com/cpp/utility
Containers libraryhttps://en.cppreference.com/cpp/container
Iterators libraryhttps://en.cppreference.com/cpp/iterator
Ranges libraryhttps://en.cppreference.com/cpp/ranges
Algorithms libraryhttps://en.cppreference.com/cpp/algorithm
Strings libraryhttps://en.cppreference.com/cpp/string
Text processing libraryhttps://en.cppreference.com/cpp/text
Numerics libraryhttps://en.cppreference.com/cpp/numeric
Date and time libraryhttps://en.cppreference.com/cpp/chrono
Input/output libraryhttps://en.cppreference.com/cpp/io
Filesystem libraryhttps://en.cppreference.com/cpp/filesystem
Concurrency support libraryhttps://en.cppreference.com/cpp/thread
Execution control libraryhttps://en.cppreference.com/cpp/execution
Technical specificationshttps://en.cppreference.com/cpp/experimental
Symbols indexhttps://en.cppreference.com/cpp/symbol_index
External librarieshttps://en.cppreference.com/cpp/links/libs
[edit]https://cppreference.com/index.php?title=Template:cpp/navbar_content&action=edit
Numerics libraryhttps://en.cppreference.com/cpp/numeric
Common mathematical functionshttps://en.cppreference.com/cpp/numeric/math
Mathematical special functionshttps://en.cppreference.com/cpp/numeric/special_functions
Mathematical constantshttps://en.cppreference.com/cpp/numeric/constants
Basic linear algebra algorithmshttps://en.cppreference.com/cpp/numeric/linalg
Data-parallel types (SIMD)https://en.cppreference.com/cpp/numeric/simd
Floating-point environmenthttps://en.cppreference.com/cpp/numeric/fenv
Complex numbershttps://en.cppreference.com/cpp/numeric/complex
Numeric array (valarray)https://en.cppreference.com/cpp/numeric/valarray
Pseudo-random number generationhttps://en.cppreference.com/cpp/numeric/random
Bit manipulationhttps://en.cppreference.com/cpp/utility/bit
Saturation arithmetichttps://en.cppreference.com/cpp/numeric#Saturation_arithmetic
Factor operationshttps://en.cppreference.com/cpp/numeric#Factor_operations
gcdhttps://en.cppreference.com/cpp/numeric/gcd
lcmhttps://en.cppreference.com/cpp/numeric/lcm
Interpolationshttps://en.cppreference.com/cpp/numeric#Interpolation_operations
midpointhttps://en.cppreference.com/cpp/numeric/midpoint
lerphttps://en.cppreference.com/cpp/numeric/lerp
Generic numeric operationshttps://en.cppreference.com/cpp/numeric#Numeric_operations
iotahttps://en.cppreference.com/cpp/algorithm/iota
ranges::iotahttps://en.cppreference.com/cpp/algorithm/ranges/iota
accumulatehttps://en.cppreference.com/cpp/algorithm/accumulate
inner_producthttps://en.cppreference.com/cpp/algorithm/inner_product
adjacent_differencehttps://en.cppreference.com/cpp/algorithm/adjacent_difference
partial_sumhttps://en.cppreference.com/cpp/algorithm/partial_sum
reducehttps://en.cppreference.com/cpp/algorithm/reduce
transform_reducehttps://en.cppreference.com/cpp/algorithm/transform_reduce
inclusive_scanhttps://en.cppreference.com/cpp/algorithm/inclusive_scan
exclusive_scanhttps://en.cppreference.com/cpp/algorithm/exclusive_scan
transform_inclusive_scanhttps://en.cppreference.com/cpp/algorithm/transform_inclusive_scan
transform_exclusive_scanhttps://en.cppreference.com/cpp/algorithm/transform_exclusive_scan
C-style checked integer arithmetichttps://en.cppreference.com/cpp/numeric#Checked_integer_arithmetic
ckd_addhttps://en.cppreference.com/cpp/numeric/ckd_add
ckd_subhttps://en.cppreference.com/cpp/numeric/ckd_sub
ckd_mulhttps://en.cppreference.com/cpp/numeric/ckd_mul
[edit]https://cppreference.com/index.php?title=Template:cpp/numeric/navbar_content&action=edit
Saturation arithmetichttps://en.cppreference.com/cpp/numeric#Saturation_arithmetic
saturating_addhttps://en.cppreference.com/cpp/numeric/saturating_add
saturating_mulhttps://en.cppreference.com/cpp/numeric/saturating_mul
saturating_divhttps://en.cppreference.com/cpp/numeric/saturating_div
saturating_casthttps://en.cppreference.com/cpp/numeric/saturating_cast
[edit]https://cppreference.com/index.php?title=Template:cpp/numeric/sat_math/navbar_content&action=edit
https://en.cppreference.com/cpp/header/numeric
saturatinghttps://en.wikipedia.org/wiki/Saturation_arithmetic
arithmetic operations on integershttps://en.cppreference.com/cpp/language/operator_arithmetic#Overflows
integer typehttps://en.cppreference.com/cpp/language/types#Integer_types
1 Parametershttps://en.cppreference.com/cpp/numeric/saturating_sub#Parameters
2 Return valuehttps://en.cppreference.com/cpp/numeric/saturating_sub#Return_value
3 Noteshttps://en.cppreference.com/cpp/numeric/saturating_sub#Notes
4 Possible implementationhttps://en.cppreference.com/cpp/numeric/saturating_sub#Possible_implementation
5 Examplehttps://en.cppreference.com/cpp/numeric/saturating_sub#Example
6 See alsohttps://en.cppreference.com/cpp/numeric/saturating_sub#See_also
7 External linkshttps://en.cppreference.com/cpp/numeric/saturating_sub#External_links
integral promotionhttps://en.cppreference.com/cpp/language/implicit_conversion#Integral_promotion
template argument deductionhttps://en.cppreference.com/cpp/language/template_argument_deduction
SIMD vectorshttps://en.wikipedia.org/wiki/Single_instruction,_multiple_data
SSE2https://en.wikipedia.org/wiki/SSE2
x86https://en.wikipedia.org/wiki/x86
NEONhttps://en.wikipedia.org/wiki/ARM_architecture_family#Advanced_SIMD_(Neon)
ARMhttps://en.wikipedia.org/wiki/ARM_architecture_family
Feature-testhttps://en.cppreference.com/cpp/utility/feature_test
__cpp_lib_saturation_arithmetichttps://en.cppreference.com/cpp/feature_test#cpp_lib_saturation_arithmetic
202311Lhttps://en.cppreference.com/cpp/compiler_support/26#cpp_lib_saturation_arithmetic_202311L
202603Lhttps://en.cppreference.com/cpp/compiler_support/26#cpp_lib_saturation_arithmetic_202603L
libstdc++ (GCC)https://github.com/gcc-mirror/gcc/blob/d28460bfcff89064d1a991f4532337b997d7e102/libstdc%2B%2B-v3/include/bits/sat_arith.h#L48
libc++ (Clang)https://github.com/llvm/llvm-project/blob/b1b3b430c6a39ad7452a7907a4c781c0672e2bd7/libcxx/include/__numeric/saturation_arithmetic.h#L31
Compiler Explorerhttps://godbolt.org/z/YhjWv3e1Y
saturating_addhttps://en.cppreference.com/cpp/numeric/saturating_add
[edit]https://cppreference.com/index.php?title=Template:cpp/numeric/dsc_saturating_add&action=edit
saturating_mulhttps://en.cppreference.com/cpp/numeric/saturating_mul
[edit]https://cppreference.com/index.php?title=Template:cpp/numeric/dsc_saturating_mul&action=edit
saturating_divhttps://en.cppreference.com/cpp/numeric/saturating_div
[edit]https://cppreference.com/index.php?title=Template:cpp/numeric/dsc_saturating_div&action=edit
saturating_casthttps://en.cppreference.com/cpp/numeric/saturating_cast
[edit]https://cppreference.com/index.php?title=Template:cpp/numeric/dsc_saturating_cast&action=edit
clamphttps://en.cppreference.com/cpp/algorithm/clamp
[edit]https://cppreference.com/index.php?title=Template:cpp/algorithm/dsc_clamp&action=edit
ranges::clamphttps://en.cppreference.com/cpp/algorithm/ranges/clamp
in_rangehttps://en.cppreference.com/cpp/utility/in_range
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/dsc_in_range&action=edit
minhttps://en.cppreference.com/cpp/types/numeric_limits/min
[edit]https://cppreference.com/index.php?title=Template:cpp/types/numeric_limits/dsc_min&action=edit
maxhttps://en.cppreference.com/cpp/types/numeric_limits/max
[edit]https://cppreference.com/index.php?title=Template:cpp/types/numeric_limits/dsc_max&action=edit
A branch-free implementation of saturation arithmetichttp://locklessinc.com/articles/sat_arithmetic/
Categorieshttps://en.cppreference.com/Special:Categories
Pages using deprecated source tagshttps://en.cppreference.com/index.php?title=Category:Pages_using_deprecated_source_tags&action=edit&redlink=1
Pages using deprecated enclose attributeshttps://en.cppreference.com/index.php?title=Category:Pages_using_deprecated_enclose_attributes&action=edit&redlink=1
Support ushttp://www.cppreference.com/support
Recent changeshttps://en.cppreference.com/Special:RecentChanges
FAQhttps://en.cppreference.com/Cppreference:FAQ
Offline versionhttps://en.cppreference.com/Cppreference:Archives
https://en.cppreference.com/cpp/numeric/saturating_sub
What links herehttps://en.cppreference.com/Special:WhatLinksHere/cpp/numeric/saturating_sub
Related changeshttps://en.cppreference.com/Special:RecentChangesLinked/cpp/numeric/saturating_sub
Upload filehttp://upload.cppreference.com/w/Special:Upload
Special pageshttps://en.cppreference.com/Special:SpecialPages
Printable versionjavascript:print();
Permanent linkhttps://en.cppreference.com/index.php?title=cpp/numeric/saturating_sub&oldid=182825
Page informationhttps://en.cppreference.com/index.php?title=cpp/numeric/saturating_sub&action=info
Deutschhttps://de.cppreference.com/cpp/numeric/saturating_sub
Españolhttp://es.cppreference.com/cpp/numeric/saturating_sub
Françaishttp://fr.cppreference.com/cpp/numeric/saturating_sub
Italianohttp://it.cppreference.com/cpp/numeric/saturating_sub
日本語http://ja.cppreference.com/cpp/numeric/saturating_sub
Portuguêshttp://pt.cppreference.com/cpp/numeric/saturating_sub
Русскийhttp://ru.cppreference.com/cpp/numeric/saturating_sub
中文http://zh.cppreference.com/cpp/numeric/saturating_sub

Viewport: width=1120

Robots: max-image-preview:standard


URLs of crawlers that visited me.