Introduction to Floating point arithmetic

This article discusses about the arithmetic operation likes addition, subtraction, multiplication and division of floating point numbers.

Floating point addition:
How floating addition works? Here are the steps involve in floating point addition.
Assume both the operands are in IEEE 754 floating point format. Performing floating point addition between ‘A’ and ‘B’

i.e. A = (-1) ^S x 2^Ae x 1.Am
S = sign bit,
Ae = Exponent of operand A i.e. E – 127 (assuming Single precision),
Am = Mantissa. Similarly for operand B (S, Be, Bm).

Therefore A + B = (Am x 2^Ae + Bm x 2^Be).

Step by step procedure explaining floating point addition:
1. Aligning binary points of A and B
a. Compare Ae and Be. Take the lager and compute exponent
difference Be – Ae (Be > Ae).
2. If Ae > Be right shift Bm that many positions to form Bm x 2^(Be – Ae).
If Be > Ae right shift Am that many positions to form Am x 2^(Ae – Be).
3. Compute the sum of aligned mantissa i.e.
Bm x 2^(Be – Ae) + Am (or) Am x 2^(Be – Ae) + Bm
4. If normalization of result is need, steps to perform
a. If result looks like (0.001001…) then reduce the exponent by
left shifting the result.
b. If result looks like (101.01001…) then increase the exponent by
right shifting the result.
Continue above steps (a or b) until MSB (hidden bit in IEEE 754 standard) is 1.
5. Check result exponent.
a. If larger than allowed exponent allowed return exponent overflow.
b. If smaller than allowed exponent allowed return exponent underflow.
6. If mantissa is equal to zero set exponent to zero.

MindTree Releases ONVIF 1.01 Software Stack

MindTree's ONVIF software stack enables camera, video encoder, DVR and VMS vendors to release ONVIF compliant products.

Bangalore, INDIA - March 5, 2010 - MindTree Ltd. (NSE: MINDTREE), a global Product Engineering Services and IT Solutions company, today announced that its Open Network Video Interface Forum (ONVIF) Software Stack 1.01 i.e. the Network Video Transmitter (NVT) Agent and the Network Video Client (NVC) is available for licensing. ONVIF is an open industry forum for the development of a global standard for the interface of network video products. MindTree's ONVIF NVT agent is available on TI's DM6467 and DM365 platforms and can be quickly ported on to other platforms. The ONVIF NVC is available on Windows XP. MindTree participated in the ONVIF developers plug fest held in Stuttgart,

Germany recently. This launch augments MindTree's portfolio of solution accelerators targeted at the video surveillance market. MindTree's digital surveillance program is supported by the Council of Scientific & Industrial Research under its New Millennium Indian Technology Leadership Initiative (NMITLI).

Establishments who are deploying video surveillance systems on their premises are beginning to demand standards compliant products. Standards compliant products enable establishments to build a system using best of breed products from different vendors that fully meets their security objectives. A single vendor offering "closed" or proprietary systems may not have the required product portfolio causing establishments to compromise on some of their security objectives. Standards compliant products provide end users with increased flexibility, greater choice, future-proof systems and lower total costs when compared to proprietary products.

"MindTree's ONVIF software stack enables manufacturers to meet their timelines for introducing ONVIF compliant products into the market" said MindTree's President and CEO R&D Services, Vinod Deshmukh. "MindTree's proven expertise and experience in developing standards based protocols, integrating them on to customer platforms and supporting customers through their field deployment will be invaluable to our customers. MindTree is committed to supporting ONVIF's roadmap like the version 2.0 specifications that is expected later this year", he added.

MindTree's ONVIF NVT Agent has been licensed to a large electronic safety and security vendor based in India.

MindTree's portfolio of solution accelerators to address the video surveillance market consists of three main components – video analytics software, surveillance management software and platforms. The video analytics suite consists of algorithms that address areas related to display enhancements, video content analysis and video search and summarization. The surveillance management solution enables centralized and intelligent management of all video, audio and network equipment. Ready to manufacture reference designs for Digital Video Recorder (4 channel analog DVR) and smart video encoder (2/4 channel) complete the platforms portfolio.

About MindTree Ltd.

MindTree Ltd. is a global IT Solutions company specializing in IT Services, Independent Testing, Infrastructure Management and Technical Support (IMTS), Knowledge Services and Product Engineering, which comprises of R&D Services, Software Product Engineering and Wireless Products. MindTree partners with its clients to create a transparent, value-based relationship. Our people build innovative solutions in a wide range of technology domains that enable our customers to succeed in their business goals.

MindTree was ranked 45th among the leaders in The 2009 Global Outsourcing 100 by the International Association of Outsourcing Professionals. Widely known for its focus on human capital development, MindTree has been consistently rated among the most admired employers by several industry surveys, including Great Places To Work Institute, Hewitt Associates and Mercer. MindTree was ranked No. 1 among the Most Admired Knowledge Enterprise (MAKE) India Award winners for the second consecutive year in 2008. MindTree was ranked No. 2 in Asia and declared the overall winner in India in the Asiamoney Corporate Governance Poll 2009. The Company is publicly listed in India. Please visit us at

Drop your comment below

Getting Started with Stateflow: Part 1

MathWorks India invites you to a free webinar:
Getting Started with Stateflow: Part 1
18 Mar 2010
3:00 PM IST

In this webinar series, we introduce the most important Stateflow concepts one step at a time by building a Stateflow chart from scratch. This webinar series is intended for people who are unfamiliar with or new to Stateflow and serves as an introduction to Stateflow and state charts. For current users of Stateflow, this webinar series can reveal new possibilities for improving existing Stateflow charts.

In Part 1, we begin by discussing the foundational elements of Stateflow: states and transitions. We then move onto additional features, such as state entry actions, subcharts, and graphical functions.

Attendees will receive links to recordings of Part 2 and Part 3, after the live broadcast of Part 1 of this series.

A Q&A session will follow the presentation.

Register for this webinar.
We look forward to seeing you online on Thursday, the 18th of March, 2010.
Marketing Programs
MathWorks India

Related Posts

Twitter Updates

Random Posts

share this post
Bookmark and Share
| More
Share/Save/Bookmark Share