HomePhabricator

Check assumptions on integer implementation at compile time

Description

Check assumptions on integer implementation at compile time

Summary:

  • Add support for (signed) __int128
  • Compile-time check assumptions on integer types

This is a backport of secp256k1 PR798

Test Plan:

ninja check-secp256k1

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D7632

Details

Provenance
Pieter Wuille <pieter@wuille.net>Authored on Aug 13 2020, 00:41
deadalnixCommitted on Sep 29 2020, 09:55
deadalnixPushed on Sep 29 2020, 09:55
Reviewer
Restricted Project
Differential Revision
D7632: Check assumptions on integer implementation at compile time
Parents
rABC46c5de3c85c8: [SECP256K1] Check if variable=yes instead of if var is set in travis
Branches
Unknown
Tags
Unknown