-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathplookup.html
More file actions
18 lines (16 loc) · 755 Bytes
/
Copy pathplookup.html
File metadata and controls
18 lines (16 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
<title>Decimal to Posit Lookup Table (Beta)</title>
<script src="js/decimallookupv2.js"></script>
</head>
<body>
<p>[Version: 7 September 2017] First bit is represented by plus or minus sign. Negative values are in their two's complement form.<br/>
Rounding mode: If exponential bit is to be rounded, use geometric mean to decide which is the nearest number. If fraction bit is to be rounded, use the arithmetic mean to decide which is the nearest number. No over- and underflow. Obeys bankers rounding.</p>
<h2>Decimal to Posit Lookup Table Generator (Beta)</h2>
Decimal: <input id="decimal" type="number" step="any">
<input type="submit" value="submit" onclick="convertDToP();"/>
<pre id="output">
</pre>
</body>
</html>