Recommended 3 articles for floating-point number types

Source: Internet
Author: User
Floating-point number types for numeric types: In our daily life there are not only integers, but also decimals, in C # There are 2 data types to represent (single-precision) float, (double-precision) double. Their difference is that the value range and accuracy, the computer to the floating point number of the operation speed is much lower than the operation speed of the integer, double type of operation speed is lower than the speed of the operation of the float, if the application of a large number of double-class floating-point numbers, will occupy more memory units, While the computer's processing task will be more onerous, but the result of double type is more accurate than float, so we can adopt the float type when the accuracy requirement is not very high. Single-precision (float) Type: The range of values is between positive and negative 1.5*10^-45 to 3.4*10^38, with a precision of 7 to 8 digits, double type: The value range is positive or negative 5.0*10^-324&n

1. C # Learning Diary the type of floating-point number---data type

Summary: In our daily life, there are not only integers, but also decimals, in C # small numbers have 2 data types to represent (single precision) float, (double precision) double.

2. Felayman-mysql Quick Start (1)

Brief: Felayman----MySQL QuickStart (i) MySQL QuickStart chapter I: Data types for MYSLQ This chapter highlights: 1. Integer type, floating-point type, and fixed-point number Type 2. Date and Time Type 3. String Type 4. Binary type integer type integer type byte number unsigned range of unsigned values tinyint10-255-127-127smallint20-65535

3. Infinite classification and tree-type Forum Implementation method _php

Introduction: The implementation of infinite classification and tree Forum--floating-point field sorting method Joe Teng 2005.6.12 Here I don't want to discuss the pros and cons of other implementations. Now that we're using field sorting, we'll set up a field called order. The question is, is this the use of integers or floating-point types? Consider the possible insertion of a new value between two consecutive order values

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.