Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Use 64-bit float printing of 128-bit floats on non x86_64 #6436

Merged
merged 1 commit into from
Dec 5, 2018

Conversation

spoonincode
Copy link
Contributor

Change Description

For platforms other then x86_64, have the 128-bit float console print API (printqf()) convert to a 64-bit float before printing. While this loses precision it’s enough to get the unit tests for printqf() working on ARM8, which actually was the only unit_test unit test that failed on that platform.

Fixes issue #6402

Consensus Changes

API Changes

Documentation Additions

For platforms other then x86_64, have the 128-bit float console print API (printqf()) convert to a 64-bit float before printing. While this loses precision it’s enough to get the unit tests for printqf() working on ARM8, which actually was the only unit_test unit test that failed on that platform.
@spoonincode spoonincode requested a review from larryk85 December 5, 2018 19:37
@spoonincode spoonincode merged commit acdc856 into develop Dec 5, 2018
@spoonincode spoonincode deleted the printqf_to_double_arm8 branch December 5, 2018 20:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants