无符号双 [英] Unsigned Double

查看:147
本文介绍了无符号双的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用 unsigned double ,但事实证明C#不提供这样的类型。

I need to use an unsigned double but it turns out C# does not provide such a type.

有没有人知道为什么? / p>

Does anyone know why?

推荐答案

浮点数仅仅是IEEE 754规范的实现。据我所知,没有一个没有签名的双重的东西。

Floating point numbers are simply the implementation of the IEEE 754 spec. There is no such thing as an unsigned double there as far as i know.

http://en.wikipedia。 org / wiki / IEEE_754-2008

为什么需要一个无符号的浮点数?

Why do you need an unsigned floating point number?

这篇关于无符号双的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆