73 lines
4.4 KiB
HTML
73 lines
4.4 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>CLiki: unit-conversion</title>
|
||
|
<link rel="alternate" type="application/atom+xml" title="ATOM feed of edits to current article"
|
||
|
href="https://www.cliki.net/site/feed/article.atom?title=unit-conversion">
|
||
|
<link rel="stylesheet" href="static/css/style.css">
|
||
|
<link rel="stylesheet" href="static/css/colorize.css">
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<span class="hidden">CLiki - unit-conversion</span>
|
||
|
<div id="content"><div id="content-area"><div id="article-title">unit-conversion</div><div id="article">units is an extensive measuring unit (time/weight/distance/etc and many other physical <a href="units.html" class="category">units</a>) conversion library.<p>Homepage: <a href="http://www.cs.utexas.edu/users/novak/units.html">http://www.cs.utexas.edu/users/novak/units.html</a><p>Author: <a href="http://www.cs.utexas.edu/users/novak/">Gordon S. Novak Jr.</a><p>License: <a href="GPL.html" class="category">GPL</a><p>From the comments in the code:<p><pre>
|
||
|
; Examples of unit conversion: (glconvertunit from to)
|
||
|
; (glconvertunit 'mile 'foot)
|
||
|
; (glconvertunit 'kilogram 'lb)
|
||
|
; (glconvertunit '(/ (* atto parsec) (* micro fortnight)) '(/ inch second))
|
||
|
; (glconvertunit '(* acre foot) 'teaspoon)
|
||
|
; (glconvertunit '(/ (* 2000 kilo calorie) day) 'watt) ; average human power
|
||
|
; (glconvertunit '(* 100 kgf 4 m) '(* kilo calorie)) ; calories to climb stairs
|
||
|
; the following require (setq *glunitenable* t)
|
||
|
; (glconvertunit 'kilogram 'lbf) ; mass to weight
|
||
|
; (glconvertunit 'gram 'kilowatt-hour) ; mass to energy
|
||
|
|
||
|
; Examples of unit simplification:
|
||
|
; (glsimplifyunit '(/ meter foot))
|
||
|
; (glsimplifyunit '(/ joule watt))
|
||
|
; (glsimplifyunit '(/ joule horsepower))
|
||
|
; (glsimplifyunit '(/ (* kilogram meter) (* second second)))
|
||
|
; (glsimplifyunit 'atm)
|
||
|
; (glsimplifyunit 'atm 'english)
|
||
|
; (glsimplifyunit '(/ (* amp second) volt))
|
||
|
; (glsimplifyunit '(/ (* newton meter) (* ampere second)))
|
||
|
; (glsimplifyunit '(/ (* volt volt) (* lbf (/ (* atto parsec) hour))))
|
||
|
</pre><p>Read more at <a href="http://www.cs.utexas.edu/users/novak/units.html">http://www.cs.utexas.edu/users/novak/units.html</a><p></div></div>
|
||
|
<div id="footer" class="buttonbar"><ul><li><a href="unit-conversion.html">Current version</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/history?article=unit-conversion">History</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/backlinks?article=unit-conversion">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=unit-conversion&from-revision=3507048531">Edit</a></li><li><a href="https://www.cliki.net/site/edit-article?create=t">Create</a></li></ul></div>
|
||
|
</div>
|
||
|
<div id="header-buttons" class="buttonbar">
|
||
|
<ul>
|
||
|
<li><a href="https://www.cliki.net/">Home</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/recent-changes">Recent Changes</a></li>
|
||
|
<li><a href="CLiki.html">About</a></li>
|
||
|
<li><a href="Text Formatting.html">Text Formatting</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/tools">Tools</a></li>
|
||
|
</ul>
|
||
|
<div id="search">
|
||
|
<form action="https://www.cliki.net/site/search">
|
||
|
<label for="search_query" class="hidden">Search CLiki</label>
|
||
|
<input type="text" name="query" id="search_query" value="" />
|
||
|
<input type="submit" value="search" />
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="pageheader">
|
||
|
<div id="header">
|
||
|
<span id="logo">CLiki</span>
|
||
|
<span id="slogan">the common lisp wiki</span>
|
||
|
<div id="login"><form method="post" action="https://www.cliki.net/site/login">
|
||
|
<label for="login_name" class="hidden">Account name</label>
|
||
|
<input type="text" name="name" id="login_name" class="login_input" />
|
||
|
<label for= "login_password" class="hidden">Password</label>
|
||
|
<input type="password" name="password" id="login_password" class="login_input" />
|
||
|
<input type="submit" name="login" value="login" id="login_submit" /><br />
|
||
|
<div id="register"><a href="https://www.cliki.net/site/register">register</a></div>
|
||
|
<input type="submit" name="reset-pw" value="reset password" id="reset_pw" />
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body></html>
|