Skip to content

Commit 1e000ff

Browse files
authored
Merge pull request #93 from francof2a/dev-0.4.9
v0.4.9
2 parents 345c188 + 859a213 commit 1e000ff

19 files changed

+1938
-88
lines changed

.github/workflows/python-app.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ on:
1111

1212
jobs:
1313
build:
14-
14+
name: Test on ${{ matrix.os }} with Python ${{ matrix.python-version }}
1515
runs-on: ${{ matrix.os }}
16+
continue-on-error: true
1617
strategy:
18+
fail-fast: false
1719
matrix:
18-
os: [ubuntu-18.04]
19-
python-version: [3.6, 3.7, 3.8, 3.9]
20+
os: [ubuntu-22.04]
21+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
2022

2123
steps:
2224
- uses: actions/checkout@v2
@@ -38,3 +40,4 @@ jobs:
3840
- name: Test with pytest
3941
run: |
4042
pytest
43+

.github/workflows/python-os.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ on:
1111

1212
jobs:
1313
build:
14-
14+
name: Test on ${{ matrix.os }} with Python ${{ matrix.python-version }}
1515
runs-on: ${{ matrix.os }}
16+
continue-on-error: true
1617
strategy:
18+
fail-fast: false
1719
matrix:
18-
os: [ubuntu-18.04, ubuntu-20.04, windows-latest, macos-latest]
19-
python-version: [3.6, 3.7, 3.8, 3.9]
20-
20+
os: [ubuntu-20.04, ubuntu-22.04, macos-latest, windows-latest]
21+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
2122
steps:
2223
- uses: actions/checkout@v2
2324
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/python-package.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ on:
1111

1212
jobs:
1313
build:
14-
15-
runs-on: ubuntu-18.04
14+
name: Test on ubuntu-22.04 with Python ${{ matrix.python-version }}
15+
runs-on: ubuntu-22.04
16+
continue-on-error: true
1617
strategy:
18+
fail-fast: false
1719
matrix:
18-
python-version: [3.6, 3.7, 3.8, 3.9]
20+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
1921

2022
steps:
2123
- uses: actions/checkout@v2

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ results/*
143143
# !.vscode/launch.json
144144
# !.vscode/extensions.json
145145
*.code-workspace
146+
.devcontainer
146147

147148
# Local History for Visual Studio Code
148149
.history/
@@ -157,4 +158,9 @@ docs/figs/*.svg
157158
temp.py
158159
dev_*
159160

161+
# temp
162+
temp/
163+
*.temp
160164

165+
# docker
166+
docker/

_config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
title: fxpmath
2+
description: A python library for fractional fixed-point (base 2) arithmetic and binary manipulation with Numpy compatibility.
3+
theme: jekyll-theme-slate
4+
future: true

changelog.txt

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
version 0.4.9
2+
--------------------------------------------------
3+
* Fix wrap fuction over n_word_max (issue #41).
4+
* Inaccuracy flag is propagated to a new Fxp or resulting Fxp if one or more input Fxp are inaccurate (issue #48).
5+
* New `from_bin` method and function. Set value or create new Fxp from a binary string (issue #49).
6+
* Support to complex binary strings as input format.
7+
* Force to `config.op_input_size='best'` when power operation has an constant operator (non-Fxp). Add warning message. (issue #89).
8+
* Selection of `prefix` for binary and hexadecimal representations.
9+
* Fix `cumsum` function bug when dealing with sizes bigger than 32 bits (windows) / 64 bits (linux) (issue #76).
10+
* Fix `numpy.reshape` function handling. This function was returning optimal size instead of same by default (issue #77).
11+
* Fix negative number parsing in `dtype` string (issue #80).
12+
113
version 0.4.8
214
--------------------------------------------------
315
* Fix value dtype handling for windows OS and uint as 32 bits.

0 commit comments

Comments
 (0)