Mercurial > projects > ldc
comparison test/sqrts.d @ 273:25fa34e899e9 trunk
[svn r294] Fixed some more of the old tests.
author | lindquist |
---|---|
date | Wed, 18 Jun 2008 23:29:14 +0200 |
parents | d9d5d59873d8 |
children |
comparison
equal
deleted
inserted
replaced
272:94ef6d63f7bb | 273:25fa34e899e9 |
---|---|
2 | 2 |
3 import tango.stdc.math; | 3 import tango.stdc.math; |
4 | 4 |
5 double sqrt(double d) | 5 double sqrt(double d) |
6 { | 6 { |
7 return std.c.math.sqrt(d); | 7 return tango.stdc.math.sqrt(d); |
8 } | 8 } |
9 | 9 |
10 void main() | 10 void main() |
11 { | 11 { |
12 } | 12 } |