I hereby claim:
- I am tjade273 on github.
- I am tjade273 (https://keybase.io/tjade273) on keybase.
- I have a public key ASDR9HNQsRzpOcLNM6uc4IPWn_ljtln2BCEpx78JBwhNiAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| function log2(uint x) returns (uint y){ | |
| assembly { | |
| let arg := x | |
| x := sub(x,1) | |
| x := or(x, div(x, 0x02)) | |
| x := or(x, div(x, 0x04)) | |
| x := or(x, div(x, 0x10)) | |
| x := or(x, div(x, 0x100)) | |
| x := or(x, div(x, 0x10000)) | |
| x := or(x, div(x, 0x100000000)) |
| 0xCdEF3fC9F3fC928447c32F3e9002b9a02aAbB47A |
| pragma solidity ^0.4.19; | |
| contract FlipEndian { | |
| function flip32_1(bytes32 a) public constant returns (bytes32 b){ | |
| assembly { | |
| 0 | |
| and(div(a, 0x100000000000000000000000000000000000000000000000000000000000000), 0xFF) | |
| or | |
| and(div(a, 0x10000000000000000000000000000000000000000000000000000000000), 0xFF00) | |
| or |
| contract BailliePSW { | |
| function sprp(uint a) pure returns (bool iscomposite) { | |
| } | |
| function modexp() constant returns (bytes32 o){ | |
| assembly { | |
| let m := mload(0x40) | |
| mstore(m,1) | |
| mstore(add(m, 0x20),2) |
| contract BLS { | |
| uint public nonce; | |
| uint[4] public pubkey; | |
| // sig[0:1] is h^-x, sig[2] is the y-component of h | |
| function forward(uint[3] sig, uint gas, address addr, uint value, bytes data) returns (bool) { | |
| bytes32 msg = keccak256(nonce, gas, addr, value, data); | |
| bool success; | |
| assembly { | |
| let m := mload(0x40) |
| My public address: 0x43Be875cFB4E2bAe7fA5be1220D40670C180fA67 |