Author |
Message
Pages: 1
|
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [1803] error in return type of a function - posted: 2015-02-27 15:33:52 try this program Code:
http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1804] - posted: 2015-02-27 15:39:40 Single is an FPU type and can only be used using FPU instructions... In the future I may add some basic support for high level FPU and SSE usage. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [1806] - posted: 2015-02-27 15:45:01 ok thanks Colin; http://www.freewebs.com/ogremagic/index.htm |
0CodErr Ziron Guru (send private message) Posts: 199 Topics: 37 Location: | [1808] - posted: 2015-02-27 17:01:56 Emil_halim To implement 'Abs' of float need to use 'fabs' FPU instruction. Something like: Code:
Also to let you know it can be implemented by other way. Find 'Abs' of float means that we just need to reset sign bit. According to http://en.wikipedia.org/wiki/Single-precision_floating-point_format#IEEE_754_single-precision_binary_floating-point_format:_binary32 it need to reset 31-th bit. Like this: Code:
Also, Emil_halim, could you answer on my Private Message? |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [1810] - posted: 2015-02-27 18:41:15 thank you very much http://www.freewebs.com/ogremagic/index.htm |
Currently Active Users: There are currently 9 user(s) online. 0 member(s) and 9 guest(s) Most users ever online was 1046, January 28, 2022, 2:08 pm. Statistics: Threads: 225 | Posts: 1848 | Members: 51 | Active Members: 51 Welcome to our newest member, yecate |