#2408 Odd syntax error for noncommutative multiplacation

closed
nobody
Lisp Core (471)
5
2012-05-16
2012-05-16
No

I can't think of another meaning of a.0: shouldn't this be fine?

(%i26) a.0;
incorrect syntax: 0.0 is not an infix operator
a.0;
^
(%i26) a . 0;
(%o26) 0

Discussion

  • Robert Dodier

    Robert Dodier - 2012-05-16

    a.0 is interpreted as a .0 in which .0 is floating point zero. (It is not necessary to write floating point numbers with a leading digit.)

    Closing this report as invalid.

     
  • Robert Dodier

    Robert Dodier - 2012-05-16
    • status: open --> closed
     
  • Rupert Swarbrick

    Ah, I didn't realise about that. Sorry for the noise.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks