CRYPTO NEWS

Price analysis 8/5: BTC, ETH, BNB, XRP, ADA, SOL, DOGE, DOT, MATIC, AVAX

Bitcoin and most major altcoins have bounced off their strong support levels and may challenge the overhead resistance in an attempt to resume the up-move.

Operator << not compatible with types int128 and int128

i having this error in pragma solidity >=0.7.0 <0.9.0 int256 constant REAL_BITS = 128; int256 constant REAL_FBITS = 40; int256 constant REAL_IBITS = REAL_BITS – REAL_FBITS; int128 constant REAL_ONE = int128(1) << int128(REAL_FBITS); int128 constant REAL_HALF = REAL_ONE >> int128(1); int128 constant REAL_TWO = REAL_ONE << int128(1); errors: Operator << not compatible with types int128::Listen

i having this error in pragma solidity >=0.7.0 <0.9.0

int256 constant REAL_BITS = 128; int256 constant REAL_FBITS = 40; int256 constant REAL_IBITS = REAL_BITS - REAL_FBITS; int128 constant REAL_ONE = int128(1) << int128(REAL_FBITS); int128 constant REAL_HALF = REAL_ONE >> int128(1); int128 constant REAL_TWO = REAL_ONE << int128(1); 

errors:

  • Operator << not compatible with types int128 and int128
  • Operator >> not compatible with types int128 and int128

Price analysis 8/5: BTC, ETH, BNB, XRP, ADA, SOL, DOGE, DOT, MATIC, AVAX

Shopping cart
There are no products in the cart!
Continue shopping
0