Skip to content

TraversableOnce.max with NaN should return NaN #9637

Closed
@scabug

Description

@scabug

scala> Seq(1.0, Double.NaN, 2.5E-4).max
res2: Double = 2.5E-4

From a user point of view it would be great if this operation could
return NaN.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions