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

test suite for mathematical functions #34

Closed
StefanKarpinski opened this issue Jun 4, 2011 · 3 comments
Closed

test suite for mathematical functions #34

StefanKarpinski opened this issue Jun 4, 2011 · 3 comments
Labels
status:help wanted Indicates that a maintainer wants help on an issue or pull request test This change adds or pertains to unit tests

Comments

@StefanKarpinski
Copy link
Sponsor Member

This should be an implementation of much of Alan's knowledge — an executable encoding of how various math functions should behave, ensuring that the Julia implementation does the right thing and continues to do so. Should also help ensure portability, since the nasty corner cases are where different implementations tend to disagree.

@StefanKarpinski
Copy link
Sponsor Member Author

I'm reassigning this to v2.0 because I don't think it's crucial for a first release.

@ViralBShah
Copy link
Member

This is a huge body of work, rather than just a test suite. Many of the questions are fundamental and often about making good default choices.

I would prefer to close this issue, and have specific issues for correctness and testing of various functions.

@ViralBShah
Copy link
Member

Cc: @alanedelman

StefanKarpinski pushed a commit that referenced this issue Feb 8, 2018
Support rounding of rationals
StefanKarpinski pushed a commit that referenced this issue Feb 8, 2018
* hashing tuples

* remove type specification for data and update! for 0.4 compat

* Added documentations

* Fix wrong use of reinterpret

* Fix depwarns under 0.7 and bump REQUIRE and CI to 0.6.

* Remove isdefined for precompile

* Add syntax highlighting to readme

* update parameterized syntax

* Remove extra spaces

* Fix depwarns on 0.7

* hashing tuples

* remove type specification for data and update! for 0.4 compat

* Added documentations

* added NTuples to update!

* remove unnecessary type check
cmcaine pushed a commit to cmcaine/julia that referenced this issue Sep 24, 2020
NHDaly added a commit that referenced this issue Sep 19, 2023
Backports PR #50337 for RAI julia v1.9.2

Original description:

===================

Pass the types to the allocator functions.

-------

Before this PR, we were missing the types for allocations in two cases:

1. allocations from codegen
2. allocations in `gc_managed_realloc_`

The second one is easy: those are always used for buffers, right?

For the first one: we extend the allocation functions called from
codegen, to take the type as a parameter, and set the tag there.

I kept the old interfaces around, since I think that they cannot be
removed due to supporting legacy code?

------

An example of the generated code:
```julia
  %ptls_field6 = getelementptr inbounds {}**, {}*** %4, i64 2
  %13 = bitcast {}*** %ptls_field6 to i8**
  %ptls_load78 = load i8*, i8** %13, align 8
  %box = call noalias nonnull dereferenceable(32) {}* @ijl_gc_pool_alloc_typed(i8* %ptls_load78, i32 1184, i32 32, i64 4366152144) #7
```

Fixes #43688.
Fixes #45268.

Co-authored-by: Valentin Churavy <vchuravy@users.noreply.github.com>
vtjnash pushed a commit that referenced this issue Jan 30, 2024
Stdlib: ArgTools
URL: https://github.com/JuliaIO/ArgTools.jl.git
Stdlib branch: master
Julia branch: master
Old commit: 4eccde4
New commit: 997089b
Julia version: 1.11.0-DEV
ArgTools version: 1.1.2(Does not match)
Bump invoked by: @vtjnash
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaIO/ArgTools.jl@4eccde4...997089b

```
$ git log --oneline 4eccde4..997089b
997089b fix tests for TEMP_CLEANUP, which might be a Lockable (#35)
4a5f003 build(deps): bump actions/cache from 3 to 4 (#36)
84ba9e8 Hardcode doc edit backlink (#34)
9238839 build(deps): bump actions/checkout from 3 to 4 (#33)
```

Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
IanButterworth pushed a commit that referenced this issue Apr 11, 2024
…d56027 (#54056)

Stdlib: ArgTools
URL: https://github.com/JuliaIO/ArgTools.jl.git
Stdlib branch: release-1.10
Julia branch: backports-release-1.10
Old commit: 08b11b2
New commit: 5d56027
Julia version: 1.10.2
ArgTools version: 1.1.2(Does not match)
Bump invoked by: @IanButterworth
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaIO/ArgTools.jl@08b11b2...5d56027

```
$ git log --oneline 08b11b2..5d56027
5d56027 build(deps): bump julia-actions/setup-julia from 1 to 2 (#38)
b6189c7 build(deps): bump codecov/codecov-action from 3 to 4 (#37)
997089b fix tests for TEMP_CLEANUP, which might be a Lockable (#35)
4a5f003 build(deps): bump actions/cache from 3 to 4 (#36)
84ba9e8 Hardcode doc edit backlink (#34)
9238839 build(deps): bump actions/checkout from 3 to 4 (#33)
4eccde4 build(deps): bump actions/checkout from 2 to 3 (#30)
6a4049d build(deps): bump codecov/codecov-action from 1 to 3 (#32)
f94a0d3 build(deps): bump actions/cache from 1 to 3 (#31)
cb66300 enable dependabot for GitHub actions (#29)
```

Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:help wanted Indicates that a maintainer wants help on an issue or pull request test This change adds or pertains to unit tests
Projects
None yet
Development

No branches or pull requests

3 participants