RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Previous|Next

  • Tickets
  • » Ticket #516

Ticket #516 (Fixed)Mon Jun 21 12:45:19 UTC 2021

FPEmulator returns wrong exception for POW in some cases

Reported by: Sprow (202) Severity: Minor
Part: RISC OS: Module Release:
Milestone: Status Fixed

Details by Sprow (202):

Spotted while testing VFP equivalent of pow():

Based on ISO9899:1999 F.9.4.4 pow(±0,-ve) should return “divide by zero”, whereas FPEmulator is returning “invalid operation” in some circumstances.

In BASIC64 try
PRINT 0^-0.5
which give invalid operation, whereas
PRINT 1/SQR
gives divide by zero.

Since an exception is raised anyway it’s only a minor digression that it’s not the expected one.

Changelog:

Modified by Sprow (202) Sun, July 04 2021 - 10:13:35 GMT

  • Status changed from Open to Fixed

Fixed in FPASC-4_38.

  • Comment on, or change status of, this ticket

Previous|Next

Search tickets

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Options

  • Tickets
  • New ticket
  • Milestones
  • Subversion: Changesets
  • Subversion: Browse
  • CVS: Revisions
  • CVS: Browse
  • Search

RSS feeds Rss

  • Tickets
  • Everything!
  • More feeds...
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Collaboa theme is distantly based on the Collaboa default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Collaboa
This site runs on Rails

Hosted by Arachsys