amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} /* Inline styles */ img.acss139cf{background-color:#0866FF;}img.acss6ea51{background-color:#12AF0A;}img.acss43e08{background-color:#888990;}img.acss69ec8{background-color:#1A1A1A;}img.acssc8f88{background-color:#0166ff;}figure.acss2676c{max-width:300px;}div.acss138d7{clear:both;}div.acssf5b84{--relposth-columns:3;--relposth-columns_m:2;--relposth-columns_t:2;}div.acss4d0cc{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2018/11/ipad-pro-a12x-geekbench-4_00-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss6bdea{color:#333333;font-family:Arial;font-size:12px;height:75px;}div.acss09e0c{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2023/09/ipados-17-preview__e4irkg1573sm_og-150x150.png) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss09049{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2020/08/doraemon-nobitas-new-dinosaur-special-footage_00-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss14b3a{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2024/09/s24-fe-hk-banner-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;} .ai-align-left * {margin: 0 auto 0 0; text-align: left;} .ai-align-right * {margin: 0 0 0 auto; text-align: right;} .ai-center * {margin: 0 auto; text-align: center; } .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}
即時新聞

平方根都唔識計? 微軟終於解決一項存在已久的計算機錯誤

圖片來源︰Softpedia

4的平方根是2,再減去2便是0。這條算式,很多人都懂得計算。不過,Windows 內置的計算機卻不一定能計算出正確答案。終於,微軟著手解決了這個困擾多代 Windows 系統的問題。

[su_video url=”https://cf-e2.streamablevideo.com/video/mp4/ezy3e.mp4?token=1522903880-jkB43JFiJAZVhGhypruTcMqV1Yw3tcpciViNC2JPuqg%3D” loop=”yes”]

現時,微軟正測試新版本的 Windows 10。其中一項需要做的事,便是修復不同的系統錯誤,當中包括這項早至2010年 Windows 7 年代已出現的計算機錯誤。明明正確答案是0,但程式卻會顯示出「−1.068281969439142e−19」一堆奇怪的數字。

前年,微軟技術人員 Raymond Chen 在微軟開發者頁面上曾作出詳細解釋。原來,Windows 內置的計算機用上任意精度算術庫(Arbitrary Precision Arithmetic Library),只適用於簡單的加減乘除算式。而平方根已屬高階的運算,需要用上擴展精確庫(Extended Precision Library)進行運算。在 √4 − 2 的算式中,程式未必意識到應先計算 √4,再進行減數,反而簡單複雜化,導致運算出錯。

這個問題,困擾百分之七十五的 Windows 電腦,Windows 7 / 8.1 / 10 都可能有問題。不過,在最新版本的 Windows 10 測試版,此問題已獲解決,日後 Windows 10 電腦不會再不懂計算這種簡單的算式。

連結︰Microsoft

來源︰Softpedia

偽宅男

Windows、iOS、Android 通通都用緊。有穩定版 App 唔用,最愛試 Beta 版