# 64 bit arithmetic soft fork

**URL:** <https://delvingbitcoin.org/t/64-bit-arithmetic-soft-fork/397>\
**Category:** Protocol Design\
**Tags:** softfork\
**Created:** [January 10, 2024, 3:36pm UTC](https://delvingbitcoin.org/t/64-bit-arithmetic-soft-fork/397 "2024-01-10T15:36:12Z")\
**Posts on this page:** 1\
**Showing post:** 44

<div class="post-metadata">

**Author:** ![Chris\_Stewart\_5](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/chris_stewart_5/32/296_2.png) [@Chris\_Stewart\_5](https://delvingbitcoin.org/u/Chris_Stewart_5)\
**Post date:** [February 12, 2024, 3:02pm UTC](https://delvingbitcoin.org/t/64-bit-arithmetic-soft-fork/397/44 "2024-02-12T15:02:02Z")

</div>

If anyone is interested to see how this set of proposals could be used by other op codes please see my new post about `OP_INOUT_AMOUNT`

> [@Op\_inout\_amount](https://delvingbitcoin.org/t/op-inout-amount/549):
>
> Hi all, I’ve attempted to implement OP\_INOUT\_AMOUNT. The purpose of OP\_INOUT\_AMOUNT is to push the input value and a set of output values onto the Script interpreter stack. Here is my draft BIP: [https://github.com/Christewart/bips/blob/92c108136a0400b3a2fd66ea6c291ec317ee4a01/bip-op-inout-amount.mediawiki](https://github.com/Christewart/bips/blob/92c108136a0400b3a2fd66ea6c291ec317ee4a01/bip-op-inout-amount.mediawiki) Here is the implementation. [https://github.com/Christewart/bitcoin/tree/op-inout-amount](https://github.com/Christewart/bitcoin/tree/op-inout-amount) One purpose of implementing this is to see how this works in conjunction with my [64bit op code PR](https://github.com/bitcoin/bitcoin/pull/29221). …

Here is a direct link to a few test scripts in the python test framework

[https://github.com/Christewart/bitcoin/commit/c617c5c3b0d21499b196184b5279b45627060cb5#diff-2e2556d1d2e3a75b547bbb86bd68567f275ba6d17b9bf4541facef9f2b1cfb30R124](https://github.com/Christewart/bitcoin/commit/c617c5c3b0d21499b196184b5279b45627060cb5#diff-2e2556d1d2e3a75b547bbb86bd68567f275ba6d17b9bf4541facef9f2b1cfb30R124)

---

_[View the full topic](https://delvingbitcoin.org/t/64-bit-arithmetic-soft-fork/397)._
