Correct Output Numbers Tested: 1, 7, 10, 25, 101 SQRT Numbers Tested: 25, 144, 37, 35 stringToInt parameters tested: "Hello", "25.3", "15" intToString parameters tested: Hello, 25.3, 15 ----------------------- comet: [opening try.sml] val convertostring = fn : int -> string try.sml:7.22-7.36 Error: unbound variable or constructor: setconvertoint uncaught exception Error raised at: ../compiler/TopLevel/interact/evalloop.sml:63.48-63.56 ../compiler/TopLevel/interact/evalloop.sml:44.55 ../compiler/TopLevel/interact/evalloop.sml:291.17-291.20 ----------------------- terminus: [#"2", #"5", #".", #"3", #" "] parsed to 2483 by myToInt [#"H",#"e",#"l",#"l",#"o", #" "] parsed to 299663 by myToInt ----------------------- mercury: [#"H",#"e",#"l",#"l",#"o"] parsed to 293 by atoi ----------------------- horizon: error testing stringToInt: uncaught exception Empty raised at: smlnj/init/pervasive.sml:194.19-194.24 ----------------------- cosmos: 25.3 is parsed to 2503 in the stringToInt function. "Hello" parsed as 0 in the stringToInt function. ----------------------- asteroid: no sml file in project folder ----------------------- meteor: 25.3 is parsed to 2503 in the toInt function. "Hello" parsed as 0 in the toInt function. ----------------------- neptune: confusing output when testing the number 10. The program says that it is and that it isn't prime. no function to calculate ceiling sqrt. 25.3 is parsed to 253 in the StringToInt function. "Hello" parsed as 0 in the StringToInt function. ----------------------- venus: error testing StringListToInt: uncaught exception Empty raised at: smlnj/init/pervasive.sml:194.19-194.24 ----------------------- apollo: 25.3 is parsed to 253 in the StringToInt function. "Hello" parsed as 0 in the StringToInt function. ----------------------- armstrong: error testing strToInt uncaught exception Empty raised at: smlnj/init/pervasive.sml:194.19-194.24 ----------------------- gaia: the go function takes a parameter, the number to be tested for primality. no parsing of user input is done. doesn't calculate ceil( sqrt()), uses modular arithmetic instead. used builtin toString method. no string to int converstion done.