﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
296	numeric_to_ascii_base_ generates 8-digit octal integer strings that cv_oct_ cannot convert	Gary Dixon	Eric Swenson	"MCR10101 changes to numeric_to_ascii_base_ added an algorithm for returning a result including an exponent to suppress trailing zeros immediately before the radix point.  Unfortunately, analyze_multics uses cv_oct_ to convert strings back to fixed bin(35) numbers, and that interface cannot handle input strings that include an exponent.  The current code converts strings with more than 5 consecutive 0 chars before the radix point to use an exponent.  For example:

This problem is especially severe because Multics absolute address include 24-bits of data (8 octal digits).  So an address of 1000000. is converted to 1e+6o  as shown using the test program tcfps.


{{{
tcfps 8 1 11 (100000o 1000000o)

tcfps -------  8   in: ""100000o""
           dump:  +00000000000000000000000000000000000000000000000000000032768. E0
 Sig          10  out:  32768
        base:  8  out:  100000o

tcfps -------  8   in: ""1000000o""
           dump:  +00000000000000000000000000000000000000000000000000000262144. E0
 Sig          10  out:  262144
        base:  8  out:  1e+6o
}}}
"	defect	closed	major	MR12.8	Administration	MR12.7	fixed		
