Coder Social home page Coder Social logo

general-1's Introduction

General

This repository contains presentation PDFs and general information about the course.

Study points

To attend the exam, you need at least 17 (~80% of the total number) study points. The study points are listed here: Study points at Google Drive

Reading material

Haskell: Learn you a Haskell for great good!. Please read chapter 1-3

Lisp tips and tricks

Floating point overflow: This error occurs when a number cannot contain enough decimals. In the pi example we need 10.000 decimals, which is way more than a normal float of 8 bytes can handle. Instead we need a biiiig number to be able to store 10.000 decimals. Just like in Java, Lisp has different number types, and if you get a floating point overflow, you need to coerce Lisp to use the very precise data type. So when you call a function for the first time, you should append 'L0' to your numbers. This will force Lisp to use the 'long-float datatype for the remainder of your program.

Taking the pi exercise as an example, your call to your pi function could look like this: (myPi 1L0 (/ 1L0 (sqrt 2L0)) (/ 1L0 4L0) 1L0)

general-1's People

Contributors

eguahlak avatar jegp avatar

Watchers

kristin helgadottir avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.