Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowing x % BFloat16 #72

Open
JeffreySarnoff opened this issue Apr 11, 2024 · 1 comment
Open

Allowing x % BFloat16 #72

JeffreySarnoff opened this issue Apr 11, 2024 · 1 comment

Comments

@JeffreySarnoff
Copy link
Member

maybe as a workaround

Base.rem(x::Real, ::Type{BFloat16}) = BFloat16(x)
@giordano
Copy link
Member

I don't think Julia's rem allows rem(::Real, ::Type{AbstractFloat}), it should be defined only for Integer types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants