Skip to content

Float negative exponent stores 0 value in the AST #1089

Open
@Thirumalai-Shaktivel

Description

@Thirumalai-Shaktivel
6.626e-34
$ lpython examples/expr2.py --show-ast --tree --new-parser-Module
  |-body=|-Expr
  |-value=ConstantFloat
  |     |-value=0.000000
  |-kind=()
  └-type_ignores=↧
$ lpython examples/expr2.py --show-ast --tree-Module
  |-body=|-Expr
  |-value=ConstantFloat
  |     |-value=0.000000
  |-kind=()
  └-type_ignores=

Metadata

Metadata

Assignees

No one assigned

    Labels

    ParserIssues or improvements related to parser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions