Skip to content

Differentiate between number types #1

Open
@bcheidemann

Description

Rust has different number types but entype only has one number type which is emitted to f64. The interior type model should include the following types:

  • unsigned int
  • signed int
  • float

The following type collapsing behavior should be implemented:

  • unsigned int + signed int -> signed int
  • unsigned int + float -> float
  • signed int + float -> float

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