source: soft/giet_vm/giet_libs/math/sqrt.c @ 680

Last change on this file since 680 was 581, checked in by laurent, 9 years ago

Adding ocean application, some mathematics functions and distributed locks

File size: 101 bytes
Line 
1
2double sqrt(double x)
3{
4  double z;
5  __asm__ ("sqrt.d %0,%1" : "=f" (z) : "f" (x));
6  return z;
7}
8
Note: See TracBrowser for help on using the repository browser.