On Mon, 2021-01-25 at 12:08 +0100, Vincent Delecroix wrote:
> Shouldn't it be
> 
> (- (* a d) (* b c))
> 
> and
> 
> (- (* b b) (* 4 a c)))
> 
> 

The unary "negate" operation and the binary "subtract" operation are
usually distinguished by context, i.e. by whether prefix or infix
notation is used. Unless you do some tricks (like calling one "sub"),
the above would likely be parsed as an attempt to call "negate" with
two arguments, which is a syntax error.


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/79339bbcd3b813d1ab6ebc7cc1fd2b32f03463e5.camel%40orlitzky.com.

Reply via email to