From: Robert H. <ha...@st...> - 2013-12-22 01:23:40
|
It's the other way around: $ print 3 + "5.2" should be 8.2 and print 3 * "5.2" should be 15.6 That's a bug. Hmm. I see there is an inconsistency there... > > $ print 3 + "5.2" > 8 > $ print 3-"5.2" > -2.1999998 > $ print 3*"5.2" > 15 > $ print 3/"5.2" > 0.5769231 > > I think the - and / there are bugs. > > > -- Robert M. Hanson Larson-Anderson Professor of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 |