Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

233
Views
El formato de texto de WebAssembly no funciona en negativo
(module (func $pow2 (param $v f64) (result f64) local.get $v local.get $v f64.mul ) (func $_dist (export "_dist") (param $x0 f64) (param $y0 f64) (param $x1 f64) (param $y1 f64) (result f64) local.get $x0 local.get $x1 f64.sub call $pow2 local.get $y0 local.get $y1 f64.sub call $pow2 f64.add f64.sqrt ) (func (export "_point_circle") (param $px f64) (param $py f64) (param $cx f64) (param $cy f64) (param $cr f64) (result i32) local.get $px local.get $py local.get $cx local.get $cy call $_dist local.get $cr f64.lt ) )

¡Mi código funciona bien dentro de JavaScript!

Este código detecta la colisión de un punto y un círculo.

pero no funciona en formato de texto WebAssembly cuando algunos valores son menores que cero

Cómo arreglar este problema ? ¿El formato de texto de WebAssembly no tiene negativo?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!