Skip to content

mean of fixed-point numbers is a Float64 #306

Closed as not planned
Closed as not planned
@jariji

Description

@jariji
using Statistics, FixedPointNumbers

julia> typeof(mean([(N0f8(.5)), (N0f8(.5))]))
Float64

Is this the intended behavior? I expected it would round to the nearest fixed-point number.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions