JuliaSIMD / JuliaSIMD/SIMDTypes.jl

bug: With Julia 1.12 `Base.HWReal` contains `Float16`

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

With Julia >= 1.12
```jl
julia> Float16(0) isa Base.HWReal
true

julia> Base.HWReal
Union{Float16, Float32, Float64, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8}
```

```
SIMDTypes.jl: Test Failed at /home/runner/work/SIMDTypes.jl/SIMDTypes.jl/test/runtests.jl:16
Expression: !(Float16(1) isa SIMDTypes.NativeTypesExceptBitandFloat16)
Evaluated: !(Float16(1.0) isa Union{Bool, Float16, Float32, Float64, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8})
```
https://github.com/JuliaSIMD/SIMDTypes.jl/actions/runs/11892642912/job/33135927222?pr=10#step:6:80

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.