fork/numbat
git clone https://git.julia.blue/fork/numbat
8645174
v1.6.0
1unit FLOP 2 3@metric_prefixes 4@aliases(FLOPS: both) 5unit FLOPS = FLOP / second 6 7@aliases(cores) 8unit core 9 10unit cycle 11 12let flop = 16 FLOP / core / cycle 13let num_cores = 12 cores 14let clock_rate: Cycle / Time = 3.5 GHz cycle 15 16let speed = flop × clock_rate × num_cores -> GFLOPS 17print(speed)