Skip to content

(expt 1 rational) returns inexact #916

Description

@jpellegrini
(expt 1 (/ (expt 10 100000) (expt 7 100000))) => 1.0

This could be an exact 1, since all numbers used in the computation are exact.

For reference:

  • Return exact 1: Chez, Gambit, Chicken, Gauche, Sagittarius
  • Return inexact 1.0: Bigloo, Guile, MIT
  • Kawa doesn't compute it (returns NaN)
  • Loops trying to compute: Chibi

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions