Skip to content

Commit

Permalink
Merge pull request #93 from francof2a/dev-0.4.9
Browse files Browse the repository at this point in the history
v0.4.9
  • Loading branch information
francof2a authored Feb 7, 2024
2 parents 345c188 + 859a213 commit 1e000ff
Show file tree
Hide file tree
Showing 19 changed files with 1,938 additions and 88 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ on:

jobs:
build:

name: Test on ${{ matrix.os }} with Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04]
python-version: [3.6, 3.7, 3.8, 3.9]
os: [ubuntu-22.04]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v2
Expand All @@ -38,3 +40,4 @@ jobs:
- name: Test with pytest
run: |
pytest
9 changes: 5 additions & 4 deletions .github/workflows/python-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ on:

jobs:
build:

name: Test on ${{ matrix.os }} with Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9]

os: [ubuntu-20.04, ubuntu-22.04, macos-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ on:

jobs:
build:

runs-on: ubuntu-18.04
name: Test on ubuntu-22.04 with Python ${{ matrix.python-version }}
runs-on: ubuntu-22.04
continue-on-error: true
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ results/*
# !.vscode/launch.json
# !.vscode/extensions.json
*.code-workspace
.devcontainer

# Local History for Visual Studio Code
.history/
Expand All @@ -157,4 +158,9 @@ docs/figs/*.svg
temp.py
dev_*

# temp
temp/
*.temp

# docker
docker/
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: fxpmath
description: A python library for fractional fixed-point (base 2) arithmetic and binary manipulation with Numpy compatibility.
theme: jekyll-theme-slate
future: true
12 changes: 12 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
version 0.4.9
--------------------------------------------------
* Fix wrap fuction over n_word_max (issue #41).
* Inaccuracy flag is propagated to a new Fxp or resulting Fxp if one or more input Fxp are inaccurate (issue #48).
* New `from_bin` method and function. Set value or create new Fxp from a binary string (issue #49).
* Support to complex binary strings as input format.
* Force to `config.op_input_size='best'` when power operation has an constant operator (non-Fxp). Add warning message. (issue #89).
* Selection of `prefix` for binary and hexadecimal representations.
* Fix `cumsum` function bug when dealing with sizes bigger than 32 bits (windows) / 64 bits (linux) (issue #76).
* Fix `numpy.reshape` function handling. This function was returning optimal size instead of same by default (issue #77).
* Fix negative number parsing in `dtype` string (issue #80).

version 0.4.8
--------------------------------------------------
* Fix value dtype handling for windows OS and uint as 32 bits.
Expand Down
Loading

0 comments on commit 1e000ff

Please sign in to comment.