lean-ja / lean-ja/lean-by-example

Float と inf

Open
#774 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

コード例
Dominant language
Lean
Stars
188
Forks
15
Avg merge
9h 8m
Merged PRs (30d)
6

Description

-- 10^308 を超えたあたりで inf になってしまう
#eval 10.0 ^ 308 -- inf ではない
#eval 10.0 ^ 309 -- inf

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files or tests and only shows Lean evaluation commands for 10.0 ^ 308 and 10.0 ^ 309. First reproduce those commands and inspect the project’s existing code examples to determine whether the intended work is a correction or an explanation of Float overflow. Done is not defined until the expected behavior or documentation change is specified.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.