File: to_float.m

package info (click to toggle)
vc 1.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,552 kB
  • sloc: cpp: 19,220; ansic: 15,669; sh: 453; xml: 186; makefile: 30
file content (3 lines) | stat: -rw-r--r-- 72 bytes parent folder | download | duplicates (2)
1
2
3
function r = to_float(m, e)
  r = (0x800000 + m) * 2^(e-23);
endfunction