Details
Description
Test case gis-precise fails on ppc, ppc64, s390 and s390x platforms (diff attached). Generally some integer values are not print as integers again, but as a very similar real number.
The minimal reproducer can be:
select astext(ST_UNION(GeomFromText('POLYGON((0 0, 50 45, 40 50, 0 0))'), GeomFromText('LINESTRING(-10 -10, 200 200, 199 201, -11 -9)')));
This has the following output on x86_64:
GEOMETRYCOLLECTION(LINESTRING(-10 -10,0 0),LINESTRING(-11 -9,8 10),POLYGON((0 0,40 50,50 45,0 0)),LINESTRING(46.666666666666664 46.666666666666664,200 200,199 201,45.33333333333333 47.33333333333333))
but on other arches:
GEOMETRYCOLLECTION(LINESTRING(-10 -10,0 0),LINESTRING(-11 -9,7.999999999999999 10),POLYGON((0 0,40 50,50 45,0 0)),LINESTRING(46.666666666666664 46.666666666666664,200 200,199 201,45.33333333333333 47.33333333333333))
Gliffy Diagrams
Attachments
Issue Links
- duplicates
-
MDEV-5708 perfschema.func_file_io perfschema.func_mutex tests fail for architecture s390x
-
- Stalled
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
I don't have the platform to confirm, but the idea is clear.
Assigning to Alexey to decide what can and should be done about it.
I've also left initial priority, as set by the reporter, intact; please adjust if needed.