mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 23:20:29 +03:00
[Trivial] Fix documentation typos
This commit is contained in:
parent
9e2c3f1f05
commit
a81f6200cf
16 changed files with 74 additions and 74 deletions
|
@ -150,7 +150,7 @@ private template CustomFloatParams(uint precision, uint exponentWidth, CustomFlo
|
|||
* writeln(w);
|
||||
*
|
||||
* // Functions calls require conversion
|
||||
* z = sin(+x) + cos(+y); // Use uniary plus to concisely convert to a real
|
||||
* z = sin(+x) + cos(+y); // Use unary plus to concisely convert to a real
|
||||
* z = sin(x.re) + cos(y.re); // Or use the .re property to convert to a real
|
||||
* z = sin(x.get!float) + cos(y.get!float); // Or use get!T
|
||||
* z = sin(cast(float)x) + cos(cast(float)y); // Or use cast(T) to explicitly convert
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue