Skip to content

Bug in operators precedence #79

@johnnyontheweb

Description

@johnnyontheweb

Hi,
I encountered a strange bug. I have this:

A=10
u=2

r1=A*e^(-u^2/2)
r2=A*e^(-(u^2)/2)

and I get

r1=73.8905609893065
r2=1.35335283236613

I'm not an expert, but I think there's an error in operator precedente evaluation for r1 - this should give 1.35 as well as r2.

regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions