Python Forum
Float operations not working after cross-compilation
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Float operations not working after cross-compilation
#1
Hello,

I'm trying to run python3.6.5 in PowerPC architecture.
So far, I'm facing a problem with built-in float operations - always return same magic number:

Python 3.6.5 (default, Jun 29 2018, 17:39:38)
[GCC 4.3.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> 0.1*2
-5.3140116856411011e+303
>>>

Any ideas what this could be?

These are the configure switches used:
./configure --host=powerpc-linux-gnu --build=x86_64-pc-linux-gnu \
--disable-ipv6 ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no \
ac_cv_have_long_long_format=yes

Thanks!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  python calculate float plus float is incorrect? sirocawa 6 253 Apr-16-2024, 01:45 PM
Last Post: DeaD_EyE
  Cross 2 arrays dylan261999 4 1,020 Feb-09-2023, 01:06 PM
Last Post: thensun
  Replicate Excel operations with Python Lumberjack 3 1,809 May-10-2022, 01:44 AM
Last Post: Lumberjack
  Program demonstrates operations of bitwise operators without using bitwise operations ShawnYang 2 1,781 Aug-18-2021, 03:06 PM
Last Post: deanhystad
  Random Choice Operations Souls99 6 2,922 Jul-31-2020, 10:37 PM
Last Post: Souls99
  Create bot to automate operations in IQ Option JonatasCavalini 0 12,479 Jul-19-2020, 02:23 AM
Last Post: JonatasCavalini
  Two operations in two ranges salwa17 3 2,126 Jun-22-2020, 04:15 PM
Last Post: perfringo
  Want to learn Python compilation and virtual machine IJB 3 2,615 Feb-14-2020, 02:59 PM
Last Post: IJB
  How to avoid slow cursor operations? sevensixtwo 0 1,840 Oct-11-2019, 02:23 PM
Last Post: sevensixtwo
  Operations on indexed variables in loop Fibulavie 1 1,933 Aug-14-2019, 06:07 AM
Last Post: fishhook

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020