David Peter преди 2 години
родител
ревизия
d10f711876
променени са 1 файла, в които са добавени 11 реда и са изтрити 0 реда
  1. 11 0
      examples/flops.nbt

+ 11 - 0
examples/flops.nbt

@@ -0,0 +1,11 @@
+unit FLOP
+
+@metric_prefixes
+@aliases(FLOPS: both)
+unit FLOPS = FLOP / second
+
+@aliases(cores)
+unit core
+
+let speed = 16 FLOP × 3.5 GHz / core × 12 cores -> GFLOPS
+print(speed)