This file contains 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
#!/usr/bin/env julia | |
x = "1234" | |
while length(x) < 100 * 1024 | |
x *= x; | |
end | |
y = parse(BigInt,x) |
This file contains 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 <math.h> | |
#include <sys/time.h> | |
#define NUMBER_OF_CALIPER_POINTS 10 | |
struct timeval ti,tf,caliper[NUMBER_OF_CALIPER_POINTS]; | |
struct timezone tzi,tzf; | |
int log_2 (unsigned int v) |