binury / binury/better_webfishing_mod_template

Float numbers may be tokenized incorrectly

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

input:
```
var chance_of_mutation = 0.0002
```

output:
```
var chance_of_mutation = 0.20000000298023224
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with the shown Webfishing input and trace how the float literal is tokenized or parsed. Locate the relevant tokenizer or parser code and any existing numeric-literal tests; done means 0.0002 remains 0.0002 in the generated output and the regression is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
compilers, game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.