I found e documented here: http://www.jsoftware.com/help/dictionary/dcons.htm
But, I could not find '1d1' documented. I suspect that it is a bonus from the MS definition of strtod: strtod expects nptr to point to a string of the following form: [ whitespace] [ sign] [ digits] [ .digits] [ { d | D | e | E}[ sign] digits] The Linux version of strtod includes 'x' and 'p' as legal exponent characters, but these seem to be preempted by J's parsing of Pi and Euler numbers. On 1/3/2012 18:09, Richard Donovan wrote: > > Hi > > I just noticed that some constants accept letters in either upper or lower > case, whereas others only accept lower case. > >> From the documentation, it would appear that only lower case should be > allowed. > > Also, it seems that d and e are interchangeable, although I can't find any > mention of e in the documentaion! > > 1p1 > 3.14159 > > 1P1 > |ill-formed number > > 1x1 > 2.71828 > > 1X1 > |ill-formed number > > 1d1 > 10 > > 1D1 > 10 > > 1e1 > 10 > > 1E1 > 10 > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm