Skip to content

Sequences aren’t computed properly #24357

@fbruetting

Description

@fbruetting

I want to generate substeps of 0:2π, but if I set the stepping to 2π/100, I get wrong results.

This works well with 98/99/101/102 steps, but not with 25/50/200… O_o

> (0:2π/100:2π) / 2π
0.0:0.010000000000000002:0.9900000000000002

I run julia 0.6.1 with everything up to date.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions