Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #include<libc/asm.h>
  2. MK_C_SYM(copysign)
  3.         movl    16(%esp),%edx
  4.         andl    $0x80000000,%edx
  5.         movl    8(%esp),%eax
  6.         andl    $0x7fffffff,%eax
  7.         orl     %edx,%eax
  8.         movl    %eax,8(%esp)
  9.         fldl    4(%esp)
  10.         ret
  11.