Sha256: ef3b9af74d9ae59b488b904f6a7c10d80e99f167290edf1b9882e53ab2b6cbdf
Contents?: true
Size: 741 Bytes
Versions: 37
Compression:
Stored size: 741 Bytes
Contents
# Test the type method min and max # A benchmark for the adder. system :adder_bench do [32].inner :x signed[32].inner :y timed do x <= 0 y <= 0 !10.ns x <= bit[8].max y <= signed[8].max !10.ns x <= bit[8].min y <= signed[8].min !10.ns x <= bit[10].max y <= signed[10].max !10.ns x <= bit[10].min y <= signed[10].min !10.ns x <= bit[16].max y <= signed[16].max !10.ns x <= bit[16].min y <= signed[16].min !10.ns x <= bit[32].max y <= signed[32].max !10.ns x <= bit[32].min y <= signed[32].min !10.ns end end
Version data entries
37 entries across 37 versions & 1 rubygems