Skip to content

Precedence of Operators #16

@jlp765

Description

@jlp765

A suggested addition to
Basic Data Types -> floats
(or maybe its own sub-section)

An extended example with two operators of the same precedence, e.g.

5.0 * 3.0 mod 10.0
is evaluated as
(5.0 * 3.0) mod 10.0
because multiplication and modulus have the same precedence level

It might help to include a reference to Precedence Levels at https://nim-lang.org/docs/manual.html#syntax-precedence

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