Bilgisayar sayılarının C programlama diline uygun genişletilmesi
Yükleniyor...
Tarih
2009
Yazarlar
Dergi Başlığı
Dergi ISSN
Cilt Başlığı
Yayıncı
Selçuk Üniversitesi Teknik Bilimler Meslek Yüksekokulu
Erişim Hakkı
info:eu-repo/semantics/openAccess
Özet
Günümüzde fen ve mühendislik alanındaki problemler sayısal olarak bilgisayarlarda çözülmektedir. Problemin çözümünde kullanılan klasik matematiksel yöntemler, bilgisayarda her zaman istenilen çözümü veremeyebilir. Bunun nedenlerinden birisi, bilgisayarların reel sayılar yerine sonlu kümelerle çalışmasıdır. Bilgisayar sayılarının kümesi (Format), yazılım ve donanım açısından standartlara bağlanmıştır. C dilinde reel sayılarla çalışmak için float, double ve long double olmak üzere 3 çeşit bilgisayar sayı kümesi kullanılmaktadır. Bu çalışmada C dilindeki bu 3 çeşit kümeye karşılık gelen Format kümeleri incelenmiştir. Fakat “ucuz” Formatın genişletilmesi, “reel sayıların” ayrık kuvvetle gösterilmesi yöntemiyle yeni Format’ları verir. Elde edilen bu Formatların karakteristikleri çalışmamızda tablolar şeklinde verilmiştir.
Nowadays, problems in science and engineering are generally computed on computers by numerical methods. Sometimes the classical methods that are used on solving problems can not give the correct solutions. Because computers use finite computer numbers instead of real numbers. Computer numbers’ types have standarts for hardware and software. C programming language can use 3 computer number types which are float, double and long double to work with real numbers. In this study, we examine this 3 number types in C programming language. But extending “cheap” Format obtains new Formats with using separate exponent method. These new Formats has been showed by tables.
Nowadays, problems in science and engineering are generally computed on computers by numerical methods. Sometimes the classical methods that are used on solving problems can not give the correct solutions. Because computers use finite computer numbers instead of real numbers. Computer numbers’ types have standarts for hardware and software. C programming language can use 3 computer number types which are float, double and long double to work with real numbers. In this study, we examine this 3 number types in C programming language. But extending “cheap” Format obtains new Formats with using separate exponent method. These new Formats has been showed by tables.
Açıklama
URL: http://sutod.selcuk.edu.tr/sutod/article/view/129
Anahtar Kelimeler
Bilimsel hesaplama, Bilgisayar sayıları, Programlama dili, Programming language, Computer numbers, Scientific computing
Kaynak
Selçuk-Teknik Dergisi
WoS Q Değeri
Scopus Q Değeri
Cilt
8
Sayı
Künye
Çıbıkdiken, A. O., Aydın, K. (2009). Bilgisayar sayılarının C programlama diline uygun genişletilmesi. Selçuk-Teknik Dergisi, 8, (3), 262-271.