| 1 |
--- |
| 2 |
name: Bug report |
| 3 |
about: Create a report to help us improve. |
| 4 |
title: "[BUG]" |
| 5 |
labels: bug |
| 6 |
assignees: Alexhuszagh |
| 7 |
|
| 8 |
--- |
| 9 |
|
| 10 |
## Description |
| 11 |
|
| 12 |
Please include a clear and concise description of the bug. If the bug includes a security vulnerability, you may also privately report the issue to the [maintainer](mailto:[email protected]). |
| 13 |
|
| 14 |
## Prerequisites |
| 15 |
|
| 16 |
Here are a few things you should provide to help me understand the issue: |
| 17 |
|
| 18 |
- Rust version: `rustc -V` |
| 19 |
- minimal-lexical version: |
| 20 |
|
| 21 |
## Test case |
| 22 |
|
| 23 |
Please provide a short, complete (with crate import, etc) test case for |
| 24 |
the issue, showing clearly the expected and obtained results. |
| 25 |
|
| 26 |
Example test case: |
| 27 |
|
| 28 |
``` |
| 29 |
#[macro_use] |
| 30 |
extern crate minimal_Lexical; |
| 31 |
|
| 32 |
fn main() { |
| 33 |
let integer = b"1"; |
| 34 |
let fraction = b"2345"; |
| 35 |
let float: f64 = minimal_lexical::parse_float(integer.iter(), fraction.iter(), 0); |
| 36 |
assert_eq!(value, 1.2345); |
| 37 |
} |
| 38 |
``` |
| 39 |
|
| 40 |
## Additional Context |
| 41 |
Add any other context about the problem here. |