Find Jobs
Hire Freelancers

Implement two functions for converting between IEEE single-precision floating-point and 32-bit two's complement integer, and one function to convert a IEEE single-precision floating point number to a IEEE double-precision floating point number -- 2

₹600-1500 INR

완료함
게시됨 약 3년 전

₹600-1500 INR

제출할때 지불됩니다
The f2i routine should take one 32-bit integer as its only argument and should return a 32-bit integer. However, the input value should be interpreted to be actually an single-precision floating-point value. The return value should be the result of converting the input value to 32-bit two's complement integer. The conversion should be implemented using only integer operations. Be sure to handle negative, NaN, infinity and de-normalized input floating-point values. The i2f routine should take one 32-bit integer as its only argument and should return a 32-bit integer. However, the return value should be interpreted to be actually an single-precision floating-point value. The return value should be the result of converting the input integer value to IEEE single-precision floating point. The conversion should be implemented using only integer operations. Be sure to handle negative input values. The s2d routine should take one 32-bit integer as its only argument and should return a 64-bit integer. However, the input value should be interpreted to be actually an single-precision floating-point value and the return value should be interpreted to be actually an double- precision floating-point value. The return value should be the result of converting the input single-precision floating-point value to double-precision floating point. The conversion should be implemented using only integer operations. You should use the the standard header files stdint.h and inttypes.h. These header files define size-specific integer types (e.g. int32_t) and portable printf formats for those types (e.g. PRIx32). For example: int32_t x; printf("x is %" PRId32 "\n", x);
프로젝트 ID: 29481279

프로젝트 정보

제안서 1개
원격근무 프로젝트
활동 중 3년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
프로젝트를 수여된 사용자:
사용자 아바타
I am qualified to take on this role and i have enough experience to deliver this project in less than a day. Thank you for the opportunity.
₹1,000 INR 1일에
0.0 (0 건의 리뷰)
0.0
0.0

고객에 대한 정보

국기 (INDIA)
delhi, India
0.0
0
결제 수단 확인
3월 22, 2013부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.