large_exponent.sol 252 B

12345678910111213141516
  1. contract C {
  2. int256 constant a = 1e255;
  3. int256 constant b = 1e-65535;
  4. int256 constant c = 1e65537;
  5. function f() private {
  6. assembly {
  7. let x := 1e65537
  8. }
  9. }
  10. function g() private {
  11. assembly {
  12. let x := 1e-1
  13. }
  14. }
  15. }