pragma solidity ^0.4.11;
contract Simple {
bytes32 public v;
function set(bytes32 _v) {
v = _v;
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"crypto/rand" | |
"flag" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"os" | |
"sync" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"github.com/ethereum/go-ethereum/log" | |
"github.com/ethereum/go-ethereum/swarm/api" | |
"github.com/ethereum/go-ethereum/swarm/fuse" | |
"github.com/ethereum/go-ethereum/swarm/storage" | |
"io/ioutil" | |
"os" | |
"os/signal" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <limits.h> | |
#include <math.h> | |
float simple(float n, int ii) { | |
printf("simple original float: %f %x\n", n, *((unsigned int*)&n)); | |
float a = (float)(int)n; | |
float b = n - a; | |
float c = (float)ii + b; |
NewerOlder