Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      Standard library header <stdckdint.h> (C23)

      From cppreference.com
      <c‎ |header
       
       
       

      This header is part ofnumeric library, in particular, it providestype-generic macros forchecked integer arithmetic.

      Functions

      (C23)
      checked addition operation on two integers
      (type-generic function macro)[edit]
      (C23)
      checked subtraction operation on two integers
      (type-generic function macro)[edit]
      (C23)
      checked multiplication operation on two integers
      (type-generic function macro)[edit]

      [edit]Synopsis

      #define __STDC_VERSION_STDCKDINT_H__ 202311L bool ckd_add(/*type1*/* result,/*type2*/ a,/*type3*/ b);bool ckd_sub(/*type1*/* result,/*type2*/ a,/*type3*/ b);bool ckd_mul(/*type1*/* result,/*type2*/ a,/*type3*/ b);
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=c/header/stdckdint&oldid=180192"

      [8]ページ先頭

      ©2009-2025 Movatter.jp