-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Errors for custom AbstractFloats (#38401)
* Errors for custom AbstractFloats * Update test/math.jl Co-authored-by: Daniel Karrasch <[email protected]> * Update base/math.jl Co-authored-by: Simon Byrne <[email protected]> * Achieve concordance * Disable tests * Actually disable the tests without breaking docs * Re enable tests Co-authored-by: Daniel Karrasch <[email protected]> Co-authored-by: Simon Byrne <[email protected]>
- Loading branch information
1 parent
52883ca
commit 7ef65ad
Showing
6 changed files
with
22 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -390,8 +390,3 @@ function log1p(x::Float32) | |
end | ||
end | ||
|
||
for f in (:log,:log1p) | ||
@eval begin | ||
($f)(x::Real) = ($f)(float(x)) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters