David Mak
|
2e1d6ab644
|
standalone: Add math tests for non-number arguments
|
2023-11-01 17:59:43 +08:00 |
David Mak
|
8d85ca3ac1
|
core: Rework gamma/gammaln to match SciPy behavior
Matches behavior for infinities and NaNs.
|
2023-11-01 17:59:40 +08:00 |
David Mak
|
9d3d5be383
|
core: Replace TopLevelDef comments with documentation
|
2023-11-01 17:59:14 +08:00 |
David Mak
|
df4f5fe9f3
|
core: Implement numpy and scipy functions
|
2023-11-01 17:59:14 +08:00 |
David Mak
|
197ffbbe81
|
core: Implement and expose {isinf,isnan}
|
2023-11-01 17:58:48 +08:00 |
David Mak
|
61ce788843
|
flake: Add scipy
|
2023-11-01 15:01:54 +08:00 |
David Mak
|
2d941157a1
|
core: Add create_fn_by_* functions
Used for abstracting the creation of function from different sources.
|
2023-11-01 15:01:54 +08:00 |
David Mak
|
e308846cd8
|
core: Do not cast floor/ceil result to int
NumPy explicitly states that the return type of the floor/ceil is float.
|
2023-11-01 15:01:54 +08:00 |
David Mak
|
cff30b81b1
|
core: Remove {ceil64,floor64,round,round64}
These are not present in NumPy or Artiq.
|
2023-11-01 15:01:54 +08:00 |
David Mak
|
49d132702f
|
standalone: Do not output sign if float is NaN
Matches behavior in Python.
|
2023-11-01 15:01:52 +08:00 |