Skip to content

Commit 1199e83

Browse files
committed
fix markdown links
1 parent 880de4c commit 1199e83

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/src/challenges/0014-convert-num.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@ macro_rules! impl_float_to_int {
3737
}
3838
```
3939

40-
The safety constraints referenced in the comments are that the input value must: ([[https://doc.rust-lang.org/std/primitive.f32.html#method.to_int_unchecked][docs]])
40+
The safety constraints referenced in the comments are that the input value must:
4141
- Not be NaN
4242
- Not be infinite
4343
- Be representable in the return type Int, after truncating off its fractional part
44+
45+
These constraints are given in the [documenation](https://doc.rust-lang.org/std/primitive.f32.html#method.to_int_unchecked).
4446

45-
The intrinsic corresponds to the [[https://llvm.org/docs/LangRef.html#fptoui-to-instruction][fptoui]]/[[https://llvm.org/docs/LangRef.html#fptosi-to-instruction][fptosi]] LLVM instructions, which may be useful for reference.
47+
The intrinsic corresponds to the [fptoui](https://llvm.org/docs/LangRef.html#fptoui-to-instruction)/[fptosi](https://llvm.org/docs/LangRef.html#fptosi-to-instruction) LLVM instructions, which may be useful for reference.
4648

4749
#### NonZero Conversions
4850

0 commit comments

Comments
 (0)