github.com/jingcheng-WU/gonum@v0.9.1-0.20210323123734-f1a2a11a8f7b/unit/prefixes.go (about) 1 // Copyright ©2017 The Gonum Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package unit 6 7 const ( 8 Yotta = 1e24 9 Zetta = 1e21 10 Exa = 1e18 11 Peta = 1e15 12 Tera = 1e12 13 Giga = 1e9 14 Mega = 1e6 15 Kilo = 1e3 16 Hecto = 1e2 17 Deca = 1e1 18 19 Deci = 1e-1 20 Centi = 1e-2 21 Milli = 1e-3 22 Micro = 1e-6 23 Nano = 1e-9 24 Pico = 1e-12 25 Femto = 1e-15 26 Atto = 1e-18 27 Zepto = 1e-21 28 Yocto = 1e-24 29 )